예제 #1
0
 public AccountController(IApiTools apiTools, SignInManager <AppUser> signInManager,
                          RoleManager <IdentityRole> roleManager)
 {
     _apiTools      = apiTools;
     _signInManager = signInManager;
     _roleManager   = roleManager;
 }
예제 #2
0
 public HomeController()
 {
     _apiTools = new ApiTools();
 }
예제 #3
0
 public ActorsWebUIController(IApiTools apiTools, IAuthorizeApiTools authorizeApiTools)
 {
     _apiTools          = apiTools;
     _authorizeApiTools = authorizeApiTools;
 }
예제 #4
0
 public FilmsController()
 {
     // TODO: DI.
     _apiTools = new ApiTools();
 }
예제 #5
0
 public ActorsController()
 {
     _apiTools = new ApiTools();
 }
예제 #6
0
 public HomeController(IApiTools apiTools)
 {
     _apiTools = apiTools;
 }