Пример #1
0
        public ActionResult DeleteVehicles(string vehicleId)
        {
            Response      res        = new Response();
            List <object> resultList = new List <object>();

            res = masterDal.DeleteVehicleDetails(Int32.Parse(vehicleId));
            resultList.Add(res);
            resultList.Add(GetAllVehicles());
            return(Json(resultList, JsonRequestBehavior.AllowGet));
        }