<BO.Models.Employee>)) as IRepository<BO.Models.Employee>; if (repo == null) return null; var result = repo.Where(l => l.Id == id); foreach (var item in result) { return new ValidationResult("User Already Exists"); } return null; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)