Exemplo n.º 1
0
 public TeamManagementModel(SignInManager <Domain.Entities.User> signInManager
                            , IUserInformationService userInformation
                            , ITeamsManagerService teamManager
                            , IOccupationInformationService ocpInformationService)
 {
     _signInManager         = signInManager;
     _userInformation       = userInformation;
     _teamManager           = teamManager;
     _ocpInformationService = ocpInformationService;
 }
Exemplo n.º 2
0
 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>();
 }
Exemplo n.º 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>();
        }
Exemplo n.º 4
0
 public exploreModel(IOccupationInformationService ocpInformation)
 {
     _ocpInformation   = ocpInformation;
     OccupationOptions = new List <SelectListItem>();
 }
Exemplo n.º 5
0
 public SearchTeamsModel(IOccupationInformationService ocpInformationService)
 {
     _ocpInformationService = ocpInformationService;
     OccupationOptions      = new List <SelectListItem>();
 }