Esempio n. 1
0
 public void DeleteFinanceArticle(FinanceArticle article)
 {
     unitOfWork.FinanceArticleRepository.Delete(article.Id);
     unitOfWork.Save();
     FinanceArticleChanged?.Invoke(this, EventArgs.Empty);
 }
Esempio n. 2
0
 public void AddFinanceArticle(FinanceArticle article)
 {
     unitOfWork.FinanceArticleRepository.Add(article);
     unitOfWork.Save();
     FinanceArticleChanged?.Invoke(this, EventArgs.Empty);
 }