public AjaxResult getCustomers() { var _ajaxResult = new AjaxResult(); try { _ajaxResult.Data = customerDL.GetCustomer(); }catch (Exception ex) { _ajaxResult.Success = false; _ajaxResult.Message = Resources.errorVN; _ajaxResult.Data = ex; } return(_ajaxResult); }