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