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