public ActionResult Create() { ViewBag.BiodataList = new SelectList(BiodataRepo.All(), "Id", "NPM"); ViewBag.CategoryList = new SelectList(CategoryRepo.All(), "Id", "Name"); ViewBag.BookList = new SelectList(BookRepo.ByCategory(0), "Id", "Judul"); return(PartialView("_Create", new PeminjamanViewModel())); }
public ActionResult CreatePart(int id) { //id=>Batch ID ClassViewModel model = new ClassViewModel() { batch_id = id }; ViewBag.BioName = new SelectList(BiodataRepo.All(null), "id", "name"); return(PartialView("_CreatePart", model)); }
public ActionResult List(string search) { return(PartialView("_List", BiodataRepo.All(search))); }
public ActionResult List() { return(PartialView("_List", BiodataRepo.All())); }
public ActionResult Edit(int id) { ViewBag.Biodatalist = new SelectList(BiodataRepo.All(""), "id", "name"); return(PartialView("_Edit", MonitoringRepo.GetMonitoring(id))); }
public ActionResult Create() { ViewBag.Biodatalist = new SelectList(BiodataRepo.All(""), "id", "name"); return(PartialView("_Create")); }
public ActionResult Edit(int id) { ViewBag.Biodatalist = new SelectList(BiodataRepo.All(""), "id", "name"); return(PartialView("_Edit", AssignmentRepo.GetAssignment(id))); }