Example #1
0
        void IRepository <Women> .Delete(int id)
        {
            var model = Women.FirstOrDefault(x => x.Id == id);

            Women.Remove(model);
            SaveChanges();
        }