public ArticlePriceWithType(ArticlePrice price, ArticlePriceType type) { Price = price; Type = type; }
public void Remove(ArticlePriceType entity) { _dbContext.ArticlePriceType.Remove(entity); }
public void Update(ArticlePriceType entity) { var a = _dbContext.Entry(entity).State = EntityState.Modified; }
public void Add(ArticlePriceType entity) { _dbContext.ArticlePriceType.Add(entity); }