public TransactionTypeObject GetTransactionType(long transactionTypeId) { try { return(_transactionTypeRepository.GetTransactionType(transactionTypeId)); } catch (Exception ex) { ErrorLogger.LogError(ex.StackTrace, ex.Source, ex.Message); return(new TransactionTypeObject()); } }