Exemplo n.º 1
0
 public IndexModel(ILogger <IndexModel> logger,
                   IConfiguration config,
                   IHolidayData HolidayData,
                   UserManager <IdentityUser> userManager,
                   IIdentityData identityData,
                   ISiteData siteData)
 {
     _logger       = logger;
     _config       = config;
     _HolidayData  = HolidayData;
     _userManager  = userManager;
     _identityData = identityData;
     _siteData     = siteData;
 }
Exemplo n.º 2
0
 public ViewModel(IConfiguration config,
                  IHolidayData HolidayData,
                  UserManager <IdentityUser> userManager,
                  IIdentityData identityData,
                  ISiteData siteData,
                  IFilmData filmData,
                  IHostingEnvironment environment)
 {
     _config       = config;
     _HolidayData  = HolidayData;
     _userManager  = userManager;
     _identityData = identityData;
     _siteData     = siteData;
     _filmData     = filmData;
     _environment  = environment;
 }