public TeamManagementModel(SignInManager <Domain.Entities.User> signInManager
                            , IUserInformationService userInformation
                            , ITeamsManagerService teamManager
                            , IOccupationInformationService ocpInformationService)
 {
     _signInManager         = signInManager;
     _userInformation       = userInformation;
     _teamManager           = teamManager;
     _ocpInformationService = ocpInformationService;
 }
 public CreateTeamModel(SignInManager <Domain.Entities.User> signInManager
                        , IUserInformationService userInformation
                        , ITeamsManagerService teamManager
                        , IOccupationInformationService ocpInformationService)
 {
     _signInManager         = signInManager;
     _userInformation       = userInformation;
     _teamManager           = teamManager;
     _ocpInformationService = ocpInformationService;
     OccupationOptions      = new List <SelectListItem>();
 }
Beispiel #3
0
        public RegisterModel(IServiceProvider serviceProvider
                             , UserManager <Domain.Entities.User> userManager
                             , SignInManager <Domain.Entities.User> signInManager)
        {
            _serviceProvider = serviceProvider;
            _userManager     = userManager;
            _signInManager   = signInManager;

            _userRegistrationService = serviceProvider.GetRequiredService <IUserRegistrationService>();
            _ethnicityInformation    = serviceProvider.GetRequiredService <IEthnicityInformationService>();
            _ocpInformation          = serviceProvider.GetRequiredService <IOccupationInformationService>();
            _invitations             = serviceProvider.GetRequiredService <ITeamInvitationsService>();

            EthnicityOptions  = new List <SelectListItem>();
            OccupationOptions = new List <SelectListItem>();
        }
Beispiel #4
0
 public exploreModel(IOccupationInformationService ocpInformation)
 {
     _ocpInformation   = ocpInformation;
     OccupationOptions = new List <SelectListItem>();
 }
 public SearchTeamsModel(IOccupationInformationService ocpInformationService)
 {
     _ocpInformationService = ocpInformationService;
     OccupationOptions      = new List <SelectListItem>();
 }