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