public StatusCodeController( IStatusCodeService statusCodeService, IStatusCodeRepository statusCodeRepository, IConfiguration iConfig ) { _statusCodeService = statusCodeService; _statusCodeRepository = statusCodeRepository; this.iConfig = iConfig; }
public StatusCodeService(IStatusCodeRepository statusCodeRepository) { _statusCodeRepository = statusCodeRepository; }
/// <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; }