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