public void Delete(Item item) { dbContext.Items.Remove(item); dbContext.SaveChanges(); }
public void Delete(ItemNotification notification) { dbContext.ItemNotifications.Remove(notification); dbContext.SaveChanges(); }