Exemple #1
0
 public CountriesController(IMemoryPhotoService memoryPhotoService, WorldExplorerContext worldExplorerContext, IRepository <Country> countryRepo, IMappingRepository <CountryDto> repository, IMapper mapper) : base(repository)
 {
     _memoryPhotoService   = memoryPhotoService;
     _worldExplorerContext = worldExplorerContext;
     _countryMapperRepo    = repository;
     _mapper      = mapper;
     _countryRepo = countryRepo;
 }
 public SpotifyRepository(WorldExplorerContext worldExplorerContext, IMapper mapper) : base(worldExplorerContext, mapper)
 {
     _worldExplorerContext = worldExplorerContext;
 }
Exemple #3
0
 public AuthenticationService(IOptions <AppSettings> settings, WorldExplorerContext worldExplorerContext)
 {
     _worldExplorerContext = worldExplorerContext;
     _appSettings          = settings.Value;
 }
Exemple #4
0
 public Repository(WorldExplorerContext worldExplorerContext)
 {
     _worldExplorerContext = worldExplorerContext;
 }
Exemple #5
0
 public UsersController(IOptions <AppSettings> appSettings, IUserService userService, WorldExplorerContext context)
 {
     _userService = userService;
     _context     = context;
 }
Exemple #6
0
 public UserMappingRepository(WorldExplorerContext context, IMapper mapper) : base(context)
 {
     _mapper = mapper;
 }
Exemple #7
0
 public SpotifyPlaylistsController(IMappingRepository <SpotifyPlaylistDto> playlistMappingRepo, WorldExplorerContext worldExplorerContext) : base(playlistMappingRepo)
 {
     _playlistMappingRepo  = playlistMappingRepo;
     _spotify              = new Spotify();
     _worldExplorerContext = worldExplorerContext;
 }
 public UserService(IOptions <AppSettings> appSettings, WorldExplorerContext context)
 {
     _appSettings = appSettings.Value;
     _context     = context;
 }
Exemple #9
0
 public CountryRepository(WorldExplorerContext worldExplorerContext, IMapper mapper) : base(worldExplorerContext, mapper)
 {
 }