public void Update(EmployeeBLLModel model) { try { //var checkResults = CheckForDuplicates(model); //if (checkResults.Any()) //{ // result.Errors = checkResults; //} //else //{ _dataAccessService.UpdateEmployee(model); //} } catch (Exception e) { // result.Errors.Add(e.BuildExceptionMessage()); } }