Пример #1
0
 public ActionResult Filter(string[] c1, string[] c2, string[] c3)
 {
     _accRepo = new AccountRepository(new MainModel());
     return View("Index", _accRepo.GetMatchedAcc(c1 == null ? false : true, c2 == null ? false : true, c3 == null ? false : true));
 }
Пример #2
0
 public ActionResult Index()
 {
     _accRepo = new AccountRepository(new MainModel());
     return View(_accRepo.GetAll());
 }
Пример #3
0
 public ActionResult Filter()
 {
     _accRepo = new AccountRepository(new MainModel());
     return View("Index", _accRepo.GetMatchedAcc(true,true,true));
 }