Hello,
How do I receive a dropdown list Id in a Create method of the Controller? My drop list is a CategoryList and I want CategoryId. I am trying to keep my Product model flat as nesting with complex object (like Category) also did NOT work.
Let me know, whether my ParameterMap is correct and how do I write it for a complex object, if I want to embed it ?
However, I can get CategoryId in my Update method. Please let me how to correct the above issue?
Attached are files in a zip.
How do I receive a dropdown list Id in a Create method of the Controller? My drop list is a CategoryList and I want CategoryId. I am trying to keep my Product model flat as nesting with complex object (like Category) also did NOT work.
Let me know, whether my ParameterMap is correct and how do I write it for a complex object, if I want to embed it ?
However, I can get CategoryId in my Update method. Please let me how to correct the above issue?
Attached are files in a zip.