Beispiel #1
0
 public ActionResult FillEstimateList(ServicesManagementModel.EstimateModel model)
 {
     try
     {
         return(Json(new { model = new ServicesManagementModel.EstimateModel().FillEstimateList(model) }, JsonRequestBehavior.AllowGet));
     }
     catch (Exception ex)
     {
         return(Json(new { model = ex.Message }, JsonRequestBehavior.AllowGet));
     }
 }
Beispiel #2
0
 public JsonResult GetEstimateData(ServicesManagementModel.EstimateModel model)
 {
     try
     {
         return(Json(new { model = (new ServicesManagementModel.EstimateModel().GetEstimateData(model)) }, JsonRequestBehavior.AllowGet));
     }
     catch (Exception Ex)
     {
         return(Json(new { model = (Ex.Message) }, JsonRequestBehavior.AllowGet));
     }
 }
Beispiel #3
0
 public JsonResult SaveUpdateEstimate(ServicesManagementModel.EstimateModel model)
 {
     try
     {
         return(Json(new { model = new ServicesManagementModel.EstimateModel().SaveUpdateEstimate(model) }, JsonRequestBehavior.AllowGet));
     }
     catch (Exception Ex)
     {
         return(Json(new { model = Ex.Message }, JsonRequestBehavior.AllowGet));
     }
 }