void IRepository <Women> .Delete(int id) { var model = Women.FirstOrDefault(x => x.Id == id); Women.Remove(model); SaveChanges(); }
Women IRepository <Women> .Get(int id) { return(Women.FirstOrDefault(x => x.Id == id)); }