using Company.Domain.ReportClientAgg; using CompanyManagment.App.Contracts.Report; using CompanyManagment.App.Contracts.ReportClient; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CompanyManagment.Application; public class ReportClientApplication : IReportClientApplication { private readonly IReportClientRepository _reportClientRepository; public ReportClientApplication(IReportClientRepository reportClientRepository) { _reportClientRepository = reportClientRepository; } public List GetAllCheckoutReport(long workshopId, CheckoutReportSearchModel searchModel) { return _reportClientRepository.GetAllCheckoutReport(workshopId, searchModel); } public List GetAllCheckoutReportPrintAll(long workshopId, CheckoutReportSearchModel searchModel) { return _reportClientRepository.GetAllCheckoutReportPrintAll(workshopId, searchModel); } public CheckoutReportTotalsViewModel GetAllSumCheckoutReport(long workshopId, CheckoutReportSearchModel searchModel) { return _reportClientRepository.GetAllSumCheckoutReport(workshopId, searchModel); } }