public bool DeleteLedger(Ledger entity) { if (entity == null) return false; _unitOfWork.LedgerRepository.Delete(entity); _unitOfWork.Save(); return true; }
public bool EditLedger(Ledger entity) { _unitOfWork.LedgerRepository.Edit(entity); _unitOfWork.Save(); return true; }
public bool AddLedger(Ledger entity) { _unitOfWork.LedgerRepository.Add(entity); _unitOfWork.Save(); return true; }