示例#1
0
 public HelperMethods(IOptions <Settings> settings, ICurrentUserRepository profileRepository, IProfilesQueryRepository profilesQueryRepository)
 {
     _nameidentifier          = settings.Value.Auth0Id;
     _auth0ApiIdentifier      = settings.Value.Auth0ApiIdentifier;
     _auth0TokenAddress       = settings.Value.Auth0TokenAddress;
     _profileRepository       = profileRepository;
     _profilesQueryRepository = profilesQueryRepository;
 }
示例#2
0
 public CurrentUserController(ICurrentUserRepository currentUserRepository, IProfilesQueryRepository profilesQueryRepository, IHelperMethods helperMethods)
 {
     _currentUserRepository   = currentUserRepository;
     _profilesQueryRepository = profilesQueryRepository;
     _helper = helperMethods;
 }
示例#3
0
 public ProfilesQueryController(IProfilesQueryRepository profilesQueryRepository, IHelperMethods helperMethods)
 {
     _profilesQueryRepository = profilesQueryRepository;
     _helper = helperMethods;
 }