public void Insert(ConspectCategory item) { _context.ConspectsCategories.Add(item); _context.SaveChanges(); }
public void Insert(ConspectCategory item) { _repository.Insert(item); }