Esempio n. 1
0
        public OrganizationProfileContentViewModel(
            IInviteService inviteService,
            IValidationObjectFactory validationObjectFactory)
        {
            _inviteService = inviteService;

            AddTeamPopupViewModel = ViewModelLocator.Resolve <AddTeamPopupViewModel>();
            AddTeamPopupViewModel.InitializeAsync(this);

            TeamMemberProviderViewModel = ViewModelLocator.Resolve <TeamMemberProviderViewModel>();
            TeamMemberProviderViewModel.InitializeAsync(this);
        }
Esempio n. 2
0
        public CoachProfileContentViewModel(
            IInviteService inviteService,
            ISportService sportService,
            ISportsFactory sportsFactory,
            ITeamMemberFactory teamMemberFactory,
            ITeamMemberService teamMemberService,
            IValidationObjectFactory validationObjectFactory,
            IStateService stateService)
        {
            _sportService            = sportService;
            _sportsFactory           = sportsFactory;
            _inviteService           = inviteService;
            _teamMemberFactory       = teamMemberFactory;
            _teamMemberService       = teamMemberService;
            _validationObjectFactory = validationObjectFactory;
            _stateService            = stateService;

            AddTeamPopupViewModel = ViewModelLocator.Resolve <AddTeamPopupViewModel>();
            AddTeamPopupViewModel.InitializeAsync(this);

            TeamMemberProviderViewModel = ViewModelLocator.Resolve <TeamMemberProviderViewModel>();
            TeamMemberProviderViewModel.InitializeAsync(this);
        }