Exemplo n.º 1
0
 public VolunteerService(
     IMongoDatabase mongodb,
     UserManager <Volunteer> userManager,
     IVolunteerLogonStore volunteerLogonStore)
 {
     this.mongodb             = mongodb;
     this.userManager         = userManager;
     this.volunteerLogonStore = volunteerLogonStore;
 }
Exemplo n.º 2
0
 public VolunteersController(IMongoDatabase mongodb
                             , IVolunteerService volunteerService
                             , UserManager <Volunteer> userManager
                             , IVolunteerLogonStore volunteerLogonStore
                             , IJwtFactory jwtFactory
                             , IOptions <JwtIssuerOptions> jwtOptions)
 {
     this.volunteerLogonStore = volunteerLogonStore;
     this.jwtOptions          = jwtOptions.Value;
     this.jwtFactory          = jwtFactory;
     this.userManager         = userManager;
     this.mongodb             = mongodb;
     this.volunteerService    = volunteerService;
 }