public ActionResult InsertRouteQuality(Core.Model.RouteQuality res) { if (res != null) { Web.Controllers.WebApiController.WebApiController webapi = new Web.Controllers.WebApiController.WebApiController(); webapi.CreateWebAPIRouteQuantity(res); } return(Json(true)); }
public void CreateWebAPIRouteQuantity(Core.Model.RouteQuality res) { Data.SangamRepository rep = new Data.SangamRepository(); rep.CreateRouteQuality(res); }