public JsonResult GetModelList(GridSettings grid) { IList<TractionCharacteristics> tractionCharacteristics = TractionCharacteristics.GetList(); var stateList = TractionCharacteristics.GetList(); var model = new JqData() { records = 10, page = 1, rows = tractionCharacteristics, total = stateList.Count }; return this.Json(model, JsonRequestBehavior.AllowGet); }
public JsonResult GetModelList(GridSettings grid) { IList<RoadKind> roads = RoadKind.GetList(); var stateList = RoadKind.GetList(); var model = new JqData() { records = 10, page = 1, rows = roads, total = stateList.Count }; return this.Json(model, JsonRequestBehavior.AllowGet); }
public JsonResult GetModelList(GridSettings grid) { IList<Engines> engines = Engines.GetList(); var stateList = Engines.GetList(); var model = new JqData() { records = 10, page = 1, rows = engines, total = stateList.Count }; return this.Json(model, JsonRequestBehavior.AllowGet); }
public JsonResult GetModelList(GridSettings grid) { IList<OpenpitBlocks> openpitBlocks = OpenpitBlocks.GetList(); var stateList = OpenpitBlocks.GetList(); var model = new JqData() { records = 10, page = 1, rows = openpitBlocks, total = stateList.Count }; return this.Json(model, JsonRequestBehavior.AllowGet); }
public JsonResult GetModelList(GridSettings grid) { //return this.PartialView(); IList<RoadBUType> roads = RoadBUType.GetList(); //return this.PartialView(autos); //JsonConvert.SerializeObject(autos); var stateList = RoadBUType.GetList(); var model = new JqData() { records = 10, page = 1, rows = roads, total = stateList.Count }; return this.Json(model, JsonRequestBehavior.AllowGet); }