Example #1
0
 public bool DeleteLedgerType(LedgerType entity)
 {
     if (entity == null) return false;
     _unitOfWork.LedgerTypeRepository.Delete(entity);
     _unitOfWork.Save();
     return true;
 }
Example #2
0
 public bool EditLedgerType(LedgerType entity)
 {
     _unitOfWork.LedgerTypeRepository.Edit(entity);
     _unitOfWork.Save();
     return true;
 }
Example #3
0
 public bool AddLedgerType(LedgerType entity)
 {
     _unitOfWork.LedgerTypeRepository.Add(entity);
     _unitOfWork.Save();
     return true;
 }