Beispiel #1
0
        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));
        }
Beispiel #2
0
        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));
        }