the controller code looks like
public class EmployeeController : Controller { public enum EmployeeType { RecruitmentOffice, ResearchI
What about sending as string and convert to enum
string
public ActionResult Details(int id, string type) { EmployeeType empType= (EmployeeType) Enum.Parse( typeof(EmployeeType), type, true ); }
or do write the custom model binder.
Note: Request params are string