コード例 #1
0
 public GetAllReportSalaryService(
     ReportSalaryContext reportSalaryContext,
     IMapper mapper,
     ILogger <GetAllReportSalaryService> logger)
 {
     logger.LogWarning("using get all salary service");
     this.reportSalaryContext = reportSalaryContext;
     this.mapper = mapper;
     this.logger = logger;
 }
コード例 #2
0
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="reportSalaryContext"></param>
 /// <param name="reportSalaryService"></param>
 /// <param name="authorizationService"></param>
 /// <param name="mapper"></param>
 /// <param name="logger"></param>
 public ReportSalaryController(
     ReportSalaryContext reportSalaryContext,
     IReportSalaryService reportSalaryService,
     IAuthorizationService authorizationService,
     IMapper mapper,
     ILogger <ReportSalaryController> logger)
 {
     this.reportSalaryContext  = reportSalaryContext;
     this.reportSalaryService  = reportSalaryService;
     this.authorizationService = authorizationService;
     this.mapper = mapper;
     this.logger = logger;
 }