예제 #1
0
 public IndexModel(
     IShowsService showsService,
     ILiveShowDetailsService liveShowDetails,
     IOptions <AppSettings> appSettings,
     IObjectMapper mapper)
 {
     _showsService    = showsService;
     _liveShowDetails = liveShowDetails;
     _appSettings     = appSettings.Value;
     _mapper          = mapper;
 }
예제 #2
0
 public AdminController(
     IHostingEnvironment env,
     ILiveShowDetailsService liveShowDetails,
     IMemoryCache memoryCache,
     IOptions <AppSettings> appSettings)
 {
     _liveShowDetails = liveShowDetails;
     _memoryCache     = memoryCache;
     _appSettings     = appSettings.Value;
     _env             = env;
 }
예제 #3
0
 public AdminController(
     IHostingEnvironment env,
     ILiveShowDetailsService liveShowDetails,
     IMemoryCache memoryCache,
     IOptions <AppSettings> appSettings,
     IObjectMapper mapper,
     TelemetryClient telemetry)
 {
     _liveShowDetails = liveShowDetails;
     _memoryCache     = memoryCache;
     _appSettings     = appSettings.Value;
     _env             = env;
     _mapper          = mapper;
     _telemetry       = telemetry;
 }
예제 #4
0
 public IndexModel(
     IHostingEnvironment env,
     ILiveShowDetailsService liveShowDetails,
     IMemoryCache memoryCache,
     IOptions <AppSettings> appSettings,
     IObjectMapper mapper,
     ILogger <IndexModel> logger)
 {
     _liveShowDetails = liveShowDetails;
     _memoryCache     = memoryCache;
     _appSettings     = appSettings.Value;
     _env             = env;
     _mapper          = mapper;
     _logger          = logger;
 }
예제 #5
0
 public HomeController(IShowsService showsService, ILiveShowDetailsService liveShowDetails)
 {
     _showsService    = showsService;
     _liveShowDetails = liveShowDetails;
 }
예제 #6
0
 public CalendarController(ILiveShowDetailsService liveShowDetails)
 {
     _liveShowDetails = liveShowDetails;
 }
예제 #7
0
 public HomeController(IShowsService showsService, ILiveShowDetailsService liveShowDetails, IObjectMapper mapper)
 {
     _showsService    = showsService;
     _liveShowDetails = liveShowDetails;
     _mapper          = mapper;
 }
예제 #8
0
 public IndexModel(IShowsService showsService, ILiveShowDetailsService liveShowDetails, IObjectMapper mapper)
 {
     _showsService    = showsService;
     _liveShowDetails = liveShowDetails;
     _mapper          = mapper;
 }