public bool CheckingFields(string field, string userName, string employeeId, string mobileNo) //public object CheckingFields(string field, [FromBody]ForgotPassReset model) { try { return(usersService.CheckingFields(field, userName, employeeId, mobileNo)); } catch (Exception ex) { // return errorLogService.InsertToErrorLog(ex, MethodBase.GetCurrentMethod().Name, Request.Headers["UserInfo"].ToString()); return(false); } }