コード例 #1
0
 public AdminController(
     IAspLogger logger,
     IUsersService <IdentityUser> usersService,
     UserManager <IdentityUser> userManager,
     IAdvertsDatabaseService advertsDatabaseService
     )
 {
     this.logger                 = logger;
     this.userManager            = userManager;
     this.usersService           = usersService;
     this.advertsDatabaseService = advertsDatabaseService;
 }
コード例 #2
0
 public AdvertsController(IOptions <AdvertsOptions> advertsOptions, IAdvertsDatabaseService advertsService)
 {
     this.advertsOptions = advertsOptions;
     this.advertsService = advertsService;
 }