Example #1
0
 public ProfileService()
 {
     _profileRepository = new ProfileRepository();
     _profileAttributeRepository = new ProfileAttributeRepository();
     _levelOfExperienceRepository = new LevelOfExperienceRepository();
     _userSession = new UserSession();
     _profileAttributeService = new ProfileAttributeService();
 }
Example #2
0
 public ProfileService()
 {
     //_profileRepository = ObjectFactory.GetInstance<IProfileRepository>();
     //_profileAttributeRepository = ObjectFactory.GetInstance<IProfileAttributeRepository>();
     //_profileAttributeService = ObjectFactory.GetInstance<IProfileAttributeService>();
     //_levelOfExperienceTypeRepository = ObjectFactory.GetInstance<ILevelOfExperienceTypeRepository>();
     //_userSession = ObjectFactory.GetInstance<IUserSession>();
     _profileRepository = new ProfileRepository();
     _profileAttributeRepository = new ProfileAttributeRepository();
     _levelOfExperienceRepository = new LevelOfExperienceRepository();
     _userSession = new UserSession();
     _profileAttributeService = new ProfileAttributeService();
 }
Example #3
0
 public ProfileService()
 {
     //_profileRepository = ObjectFactory.GetInstance<IProfileRepository>();
     //_profileAttributeRepository = ObjectFactory.GetInstance<IProfileAttributeRepository>();
     //_profileAttributeService = ObjectFactory.GetInstance<IProfileAttributeService>();
     //_levelOfExperienceTypeRepository = ObjectFactory.GetInstance<ILevelOfExperienceTypeRepository>();
     //_userSession = ObjectFactory.GetInstance<IUserSession>();
     _profileRepository           = new ProfileRepository();
     _profileAttributeRepository  = new ProfileAttributeRepository();
     _levelOfExperienceRepository = new LevelOfExperienceRepository();
     _userSession             = new UserSession();
     _profileAttributeService = new ProfileAttributeService();
 }
Example #4
0
 public ManageProfilePresenter()
 {
     _levelOfExperienceRepository = new LevelOfExperienceRepository();
     _profileAttributeRepository  = new ProfileAttributeRepository();
     _profileRepository           = new ProfileRepository();
     _userSession             = new UserSession();
     _profileService          = new ProfileService();
     _profileAttributeService = new ProfileAttributeService();
     _redirector = new Redirector();
     _listProfileAttributeType = new List <ProfileAttributeType>();
     _listPrivacyFlags         = new List <PrivacyFlag>();
     _privacyRepository        = new PrivacyRepository();
     _listVisibilityLevel      = new List <VisibilityLevel>();
     profile = new Profile();
 }
Example #5
0
 public ManageProfilePresenter()
 {
     _levelOfExperienceRepository = new LevelOfExperienceRepository();
     _profileAttributeRepository = new ProfileAttributeRepository();
     _profileRepository = new ProfileRepository();
     _userSession = new UserSession();
     _profileService = new ProfileService();
     _profileAttributeService = new ProfileAttributeService();
     _redirector = new Redirector();
     _listProfileAttributeType = new List<ProfileAttributeType>();
     _listPrivacyFlags = new List<PrivacyFlag>();
     _privacyRepository = new PrivacyRepository();
     _listVisibilityLevel = new List<VisibilityLevel>();
     profile = new Profile();
 }
Example #6
0
 public ManageProfilePresenter()
 {
     //_levelOfExperienceRepository = ObjectFactory.GetInstance<ILevelOfExperienceTypeRepository>();
     //_profileRepository = ObjectFactory.GetInstance<IProfileRepository>();
     //_profileAttributeRepository = ObjectFactory.GetInstance<IProfileAttributeRepository>();
     //_userSession = ObjectFactory.GetInstance<IUserSession>();
     //_profileService = ObjectFactory.GetInstance<IProfileService>();
     //_redirector = ObjectFactory.GetInstance<IRedirector>();
     _levelOfExperienceRepository = new LevelOfExperienceRepository();
     _profileAttributeRepository = new ProfileAttributeRepository();
     _profileRepository = new ProfileRepository();
     _userSession = new UserSession();
     _profileService = new ProfileService();
     _profileAttributeService = new ProfileAttributeService();
     _redirector = new Redirector();
     _listProfileAttributeType = new List<ProfileAttributeType>();
 }
Example #7
0
 public ProfileService()
 {
     _userSession = ObjectFactory.GetInstance<IUserSession>();
     _profileAttributeService = ObjectFactory.GetInstance<IProfileAttributeService>();
 }