Exemplo n.º 1
0
 // List & Search
 public ActionResult List(string search = "")
 {
     return(PartialView("_List", BatchRepo.All(search)));
 }
Exemplo n.º 2
0
        public ActionResult Search(string code)
        {
            List <BatchViewModel> item = BatchRepo.All(code);

            return(PartialView("_List", item));
        }
Exemplo n.º 3
0
 public ActionResult List(string search = "")
 {
     ViewBag.BatchName = new SelectList(BatchRepo.All(search), "id", "name");
     return(PartialView("_List", ClazzRepo.BySearch(search)));
 }
Exemplo n.º 4
0
 public ActionResult List()
 {
     return(PartialView("_List", BatchRepo.All()));
 }