Exemple #1
0
 public StatusCodeController(
     IStatusCodeService statusCodeService,
     IStatusCodeRepository statusCodeRepository,
     IConfiguration iConfig
     )
 {
     _statusCodeService    = statusCodeService;
     _statusCodeRepository = statusCodeRepository;
     this.iConfig          = iConfig;
 }
Exemple #2
0
 public StatusCodeService(IStatusCodeRepository statusCodeRepository)
 {
     _statusCodeRepository = statusCodeRepository;
 }
Exemple #3
0
 /// <summary>
 /// Initialize the Service with an instance of an injected User Repository
 /// </summary>
 /// <param name="logger"></param>
 /// <param name="statusCodesRepo"></param>
 public StatusCodeService(ILogger <StatusCodeService> logger, IStatusCodeRepository statusCodesRepo)
 {
     _logger          = logger;
     _statusCodesRepo = statusCodesRepo;
 }