// GET: Products/Create public ActionResult Create() { ViewData["IdClient"] = new SelectList(_clientViewModelService.GetAll(), "Id", "Name"); return(View()); }
// GET: Clients public ActionResult Index() { var list = _clientViewModelService.GetAll(); return(View(list)); }