示例#1
0
        public ActionResult Index()
        {
            lstTrip           = objService.GetALL();
            objModel.ListTrip = new List <TripModel>();
            objModel.ListTrip.AddRange(lstTrip);

            List <VehicleTypeModel> lstVType = new List <VehicleTypeModel>();

            lstVType           = objService.getActiveVType();
            objModel.ListVType = new List <VehicleTypeModel>();
            objModel.ListVType.AddRange(lstVType);
            ViewBag.Menuid = Request.QueryString["menuId"];
            return(View(objModel));
        }