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));
 }
Esempio n. 2
0
 public void CreateWebAPIRouteQuantity(Core.Model.RouteQuality res)
 {
     Data.SangamRepository rep = new Data.SangamRepository();
     rep.CreateRouteQuality(res);
 }