Пример #1
0
 /// <summary>
 /// 构造函数(注入仓储)
 /// </summary>
 /// <param name="reportRepository"></param>
 /// <param name="dbServerApp"></param>
 /// <param name="tbReportApp"></param>
 /// <param name="globalVarApp"></param>
 /// <param name="rdlcReportApp"></param>
 public ReportAppService(IRepository <Report, long> reportRepository,
                         IDbServerAppService dbServerApp,
                         ITbReportAppService tbReportApp,
                         IGlobalVarAppService globalVarApp,
                         IRdlcReportAppService rdlcReportApp,
                         IChartReportAppService chartReportApp)
 {
     _reportRepository = reportRepository;
     _dbServerApp      = dbServerApp;
     _tbReportApp      = tbReportApp;
     _globalVarApp     = globalVarApp;
     _rdlcReportApp    = rdlcReportApp;
     _chartReportApp   = chartReportApp;
 }
Пример #2
0
 public ReportController(IReportAppService reportAppService,
                         ITbReportAppService tbReportAppService,
                         IDbServerAppService dbServerAppService,
                         IModulesAppService moduleAppService,
                         IExportAppService exportAppService,
                         IRdlcReportAppService rdlcAppService,
                         IChartReportAppService ChartAppService)
 {
     _reportAppService   = reportAppService;
     _tbReportAppService = tbReportAppService;
     _dbServerAppService = dbServerAppService;
     _moduleAppService   = moduleAppService;
     _exportAppService   = exportAppService;
     _rdlcAppService     = rdlcAppService;
     _ChartAppService    = ChartAppService;
 }