public void Save(ArticleAccountingPriceIndicator value) { CurrentSession.SaveOrUpdate(value); }
public void Delete(ArticleAccountingPriceIndicator value) { CurrentSession.Delete(value); }
/// <summary> /// Добавление показателя /// </summary> public void Add(DateTime startDate, DateTime?endDate, short storageId, int articleId, Guid accountingPriceListId, Guid articleAccountingPriceId, decimal accountingPrice) { var indicator = new ArticleAccountingPriceIndicator(startDate, endDate, storageId, articleId, accountingPriceListId, articleAccountingPriceId, accountingPrice); articleAccountingPriceIndicatorRepository.Save(indicator); }