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

            return(View(list));
        }