public ActionResult BusStations() { var dipotype = BusinessAccessLayer.BusBAL.BALGetAllDipo(); DipoViewModel dipo = new DipoViewModel(); dipo.DipoList = new SelectList(dipotype.DipoList, "DipoID", "DipoName"); // bo.busownername = new SelectList(result.lstbusName, "BusID", "BusNumber"); return(PartialView(@"~/Views\Reports\_busStation.cshtml", dipo)); }
public ActionResult EditBusDetail(string busId) { ViewBag.busId = Encrypt.decryptMethod(busId); var dipotype = BusinessAccessLayer.BusBAL.BALGetAllDipo(); DipoViewModel dipo = new DipoViewModel(); dipo.DipoList = new SelectList(dipotype.DipoList, "DipoID", "DipoName"); // bo.busownername = new SelectList(result.lstbusName, "BusID", "BusNumber"); return(PartialView(@"~/Views\Admin\Partial\_busInformation.cshtml", dipo)); }