Exemplo n.º 1
0
        // GET: Truck
        public ActionResult Index()
        {
            List <TruckDriverDetails> driverDetails = TruckDriverDetailsBM.GetAllTruckDriverDetails();

            ViewData["truck"] = driverDetails;
            return(View());
        }
Exemplo n.º 2
0
        public ActionResult Insert(string dname, string regNo, long mobNo)
        {
            TruckDriverDetailsBM.InsertTruckDriverDetails(dname, regNo, mobNo);

            return(View());
        }