public AjaxResult Post([FromBody] Customer _customer) { var _ajaxResult = new AjaxResult(); try { customerDL.AddNew(_customer); } catch (Exception ex) { _ajaxResult.Success = false; _ajaxResult.Message = Resources.errorVN; _ajaxResult.Data = ex; } return(_ajaxResult); }