public void Save(Item item) { dbContext.Entry(item).State = EntityState.Added; dbContext.SaveChanges(); }
public void Save(ItemNotification notification) { dbContext.Entry(notification).State = EntityState.Added; dbContext.SaveChanges(); }