Ejemplo n.º 1
0
 public HomeController(ILogger <HomeController> logger, IWeatherInterface weatherInterface
                       , IWeatherRepositoryInterface weatherRepositoryInterface, IUserRepositoriesInterface UserRepositoriesInterface
                       , SignInManager <IdentityUser> signInManager)
 {
     _logger                         = logger;
     _weatherInterface               = weatherInterface;
     _weatherRepositoryInterface     = weatherRepositoryInterface;
     this._userRepositoriesInterface = UserRepositoriesInterface;
     this.SignInManager              = signInManager;
 }
Ejemplo n.º 2
0
 public AccountController(ILogger <HomeController> logger, IUserRepositoriesInterface UserRepositoriesInterface,
                          UserManager <IdentityUser> userManager, SignInManager <IdentityUser> signInManager, IHttpContextAccessor httpContextAccessor,
                          RoleManager <IdentityRole> roleManager)
 {
     _logger = logger;
     _userRepositoriesInterface = UserRepositoriesInterface;
     this.userManager           = userManager;
     this.signInManager         = signInManager;
     _httpContextAccessor       = httpContextAccessor;
     this.roleManager           = roleManager;
 }
 public NotificationController(IUserRepositoriesInterface UserRepositoriesInterface, IWeatherRepositoryInterface weatherRepositoryInterface)
 {
     this._userRepositoriesInterface  = UserRepositoriesInterface;
     this._weatherRepositoryInterface = weatherRepositoryInterface;
 }