Ejemplo n.º 1
0
 public bool DeleteLedger(Ledger entity)
 {
     if (entity == null) return false;
     _unitOfWork.LedgerRepository.Delete(entity);
     _unitOfWork.Save();
     return true;
 }
Ejemplo n.º 2
0
 public bool EditLedger(Ledger entity)
 {
     _unitOfWork.LedgerRepository.Edit(entity);
     _unitOfWork.Save();
     return true;
 }
Ejemplo n.º 3
0
 public bool AddLedger(Ledger entity)
 {
     _unitOfWork.LedgerRepository.Add(entity);
     _unitOfWork.Save();
     return true;
 }