Example #1
0
 public NewsRepository(IHttpClient httpClient, IApplicationConfiguration config, IUrlGeneratorSimple urlGeneratorSimple, ILoggedInHelper loggedInHelper, ILogger <BaseRepository> logger) : base(httpClient, config, logger)
 {
     _httpClient         = httpClient;
     _config             = config;
     _urlGeneratorSimple = urlGeneratorSimple;
     _loggedInHelper     = loggedInHelper;
     _logger             = logger;
 }
 public DocumentsService(Func <ContentfulConfig, IAssetRepository> documentRepository, Func <ContentfulConfig, IGroupAdvisorRepository> groupAdvisorRepository, Func <ContentfulConfig, IGroupRepository> groupRepository, IContentfulFactory <Asset, Document> documentFactory, IContentfulConfigBuilder contentfulConfigBuilder, ILoggedInHelper loggedInHelper)
 {
     _documentRepository      = documentRepository;
     _groupAdvisorRepository  = groupAdvisorRepository;
     _groupRepository         = groupRepository;
     _documentFactory         = documentFactory;
     _contentfulConfigBuilder = contentfulConfigBuilder;
     _loggedInHelper          = loggedInHelper;
 }
Example #3
0
 public GroupAuthorisation(IApplicationConfiguration configuration, ILoggedInHelper loggedInHelper)
 {
     _configuration  = configuration;
     _loggedInHelper = loggedInHelper;
 }