Exemplo n.º 1
0
 public ActionResult List()
 {
     userRN.HaveLoggedUser();
     ClientRN clientRN = new ClientRN();
     ViewBag.Clients = clientRN.GetClientsByUser();
     return View(new ClientViewModel());
 }
Exemplo n.º 2
0
        public ActionResult Filter(ClientViewModel clientViewModel)
        {
            ClientRN clientRN = new ClientRN();
            ViewBag.Clients = clientRN.FilterClients(clientViewModel);

            return View("List", clientViewModel);
        }