Exemple #1
0
 public IActionResult Create()
 {
     ViewData["ClientId"]  = new SelectList(_clientViewRepository.GetAll(), "ClientId", "ClientId");
     ViewData["ManagerId"] = new SelectList(_managerViewRepository.GetAll(), "ManagerId", "ManagerId");
     ViewData["ProductId"] = new SelectList(_productViewRepository.GetAll(), "ProductId", "ProductId");
     return(View());
 }
 public Task <IList <ManagerView> > Handle(GetEmployedManagers request, CancellationToken cancellationToken) =>
 _managerViewRepository
 .GetAll();