Beispiel #1
0
 public ActionResult SaveUpdatePostDisclaimer(TenantOnlineModel model)
 {
     try
     {
         return(Json(new { msg = (new TenantOnlineModel().SaveUpdatePostDisclaimer(model)) }, JsonRequestBehavior.AllowGet));
     }
     catch (Exception Ex)
     {
         return(Json(new { Ex.Message }, JsonRequestBehavior.AllowGet));
     }
 }
Beispiel #2
0
 public ActionResult OnlinePToTenant(TenantOnlineModel model)
 {
     try
     {
         return(Json(new { result = 1, ID = model.OnlinePToTenant(model) }, JsonRequestBehavior.AllowGet));
     }
     catch (Exception ex)
     {
         return(Json(new { error = ex.Message }, JsonRequestBehavior.AllowGet));
     }
 }