public ValueObject.DayReportResult DayMonthReport(DateTime from, DateTime to, Sale.Range range) { DayReportResult result = new DayReportResult(); result.Summary = new List <DayReportDetailItem>(); result.SalesmanRecords = new List <SalesmanDayReportResult>(); var machineParams = range == Range.Local ? MachineSN : ""; var users = SaleOrdersService.DayMonthReport(from, to, ref result, StoreId, machineParams, CompanyId, IsSalesclerkTest); SaleDetailService.DayMonthReport(from, to, ref result, StoreId, machineParams, CompanyId, IsSalesclerkTest, users); PosIncomePayoutService.DayMonthReport(from, to, ref result, StoreId, machineParams, CompanyId, IsSalesclerkTest); return(result); }