public VolunteerService( IMongoDatabase mongodb, UserManager <Volunteer> userManager, IVolunteerLogonStore volunteerLogonStore) { this.mongodb = mongodb; this.userManager = userManager; this.volunteerLogonStore = volunteerLogonStore; }
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; }