
I need to create a dynamic user interface of this type with drop-down boxes. Drop-down box values are fixed as shown above.
My question is: I need to send the values of the dropdown list of payment types to the mvc controller. I need to send the value of the selected falling to the service key. I do not know how to do that. Any idea?
UPDATE
Payment types can be as transfers. It looks below.
public enum PaymentOption
{
[Display(Name = "Select Payment Type")]
None = 1,
[Display(Name = "Service Hourly")]
ServiceHourly = 2,
[Display(Name = "Salary Flat Rate")]
SalaryFlatRate = 3,
[Display(Name = "% of Appointment")]
PercentOfAppointment = 4,
[Display(Name = "Per Appointment")]
PerAppointment = 5,
}
source
share