Ejemplo n.º 1
0
        public ActionResult GamanPatra()
        {
            var bus      = BusinessAccessLayer.BALFuel.BALGetBuses();
            var dipotype = BusinessAccessLayer.BusBAL.BALGetAllDipo();

            GamanViewModel gamanmodel = new GamanViewModel
            {
                bus  = new SelectList(bus, "BusID", "BusNumber"),
                dipo = new SelectList(dipotype.DipoList, "DipoID", "DipoName"),
                GamanPatraSerialNumber = WayBillBAL.BALGetGamanPatra()
            };

            return(PartialView(@"~/Views\\WayBill\_gamanPatra.cshtml", gamanmodel));
        }
Ejemplo n.º 2
0
        public ActionResult GetGamanPatra()
        {
            var data = WayBillBAL.BALGetGamanPatra(2);

            return(PartialView(@"~/Views\\WayBill\_gamanpatraReport.cshtml", data));
        }