Пример #1
0
 public JsonResult GetAllCustomerInformationByMobileNumber(string customerMobile)
 {
     try
     {
         var identity = (LoginIdentity)Thread.CurrentPrincipal.Identity;
         return(Json(_rawSqlService.GetAllCustomerInformation(identity.CompanyId, identity.BranchId, customerMobile), JsonRequestBehavior.AllowGet));
     }
     catch (Exception ex)
     {
         return(Json(ex.Message, JsonRequestBehavior.AllowGet));
     }
 }