Ejemplo n.º 1
0
 public IActionResult Create()
 {
     ViewData["DetailMainID"]         = new List <SelectListItem>(service.GetSelectListDetailMains());
     ViewData["DetailSubID"]          = new List <SelectListItem>(service.GetSelectListDetailSubs());
     ViewData["SelectedProductTypes"] = new List <SelectListItem>(service.GetSelectListProductTypes());
     return(View());
 }