public void DeleteFinanceStorage(FinanceStorage storage) { unitOfWork.FinanceStorageRepository.Delete(storage.Id); unitOfWork.Save(); FinanceStoragesChanged?.Invoke(this, EventArgs.Empty); }
public void AddFinanceStorage(FinanceStorage storage) { unitOfWork.FinanceStorageRepository.Add(storage); unitOfWork.Save(); FinanceStoragesChanged?.Invoke(this, EventArgs.Empty); }