You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.0 KiB

4 years ago
  1. using Common.Model.ReferralReports;
  2. using Repository.DAO.ReferralReports;
  3. using System.Collections.Generic;
  4. namespace Business.ReferralReports
  5. {
  6. public class ReferralReportsServices : IReferralReportsServices
  7. {
  8. private readonly IReferralReportsRepo _referralReports;
  9. public ReferralReportsServices(IReferralReportsRepo referralReports)
  10. {
  11. _referralReports = referralReports;
  12. }
  13. public List<ViewStatementResultModel> ViewStatement(ViewStatementModel statementModel)
  14. {
  15. return _referralReports.ViewStatement(statementModel);
  16. }
  17. public List<TransactionStatementModel> ViewTransactionReport(ViewStatementModel statementModel)
  18. {
  19. return _referralReports.ViewTransactionReport(statementModel);
  20. }
  21. public List<TransactionStatementModel> ViewTop5TransactionReport(ViewStatementModel statementModel)
  22. {
  23. return _referralReports.ViewTop5TransactionReport(statementModel);
  24. }
  25. }
  26. }