Exemplo n.º 1
0
 public ApprenticeshipsController(
     IOptions <ExternalLinks> externalLinks,
     IOptions <FatWebsite> fatConfig,
     IMediator mediator,
     ILogger <ApprenticeshipsController> logger)
 {
     _externalLinks  = externalLinks.Value;
     _fatConfig      = fatConfig.Value;
     _mediator       = mediator;
     _paramValidator = new ApprenticeshipsParameterValidator();
     _logger         = logger;
 }
Exemplo n.º 2
0
 public ApprenticeshipFavouriteMapper(FatWebsite fatconfig)
 {
     _linkGenerator = new FatWebsiteLinkGenerator(fatconfig);
 }
 public FatWebsiteLinkGenerator(FatWebsite config)
 {
     _config = config;
 }