public static IEnumerable <AccountingTransactionPrePostingDto> GetPrePostingTransaction(int accountYearId, int companyId) { try { return(AccountingDataProvider.GetPrePostingTransaction(accountYearId, companyId)); } catch (Exception exception) { throw new Exception(exception.Message); } }