public object GetDistcodeAndNameByMphone(string mPhone) { try { return(_distributorService.GetDistcodeAndNameByMphone(mPhone)); } catch (Exception ex) { return(errorLogService.InsertToErrorLog(ex, MethodBase.GetCurrentMethod().Name, Request.Headers["UserInfo"].ToString())); } }