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