Esempio n. 1
0
 public ActionResult New()
 {
     ViewData["Categories"] = productionService.GetCategories().ToSelectListItems(x => x.Id, x => x.Name);
     return(View("CreateOrEdit"));
 }