public MembershipManagementService(IUserService userService, IFormsAuthenticationService formsAuthenticationService, 
     IEUniversityUow eUniversityUow, IAuthorizationService authorizationService, IRoleService roleService, IStudentProfileService studentProfileService)
 {
     this.userService = userService;
     this.formsAuthenticationService = formsAuthenticationService;
     this.eUniversityUow = eUniversityUow;
     this.authorizationService = authorizationService;
     this.roleService = roleService;
     this.studentProfileService = studentProfileService;
 }
 public NewsFeedController(INewsFeedService newsFeedSrv
                           , UserManager <ApplicationUser> userManager
                           , IStudentProfileService studSrv,
                           IQuestionLikeService queLikeSrv)
 {
     _newsFeedSrv = newsFeedSrv;
     _userManager = userManager;
     _studSrv     = studSrv;
     _queLikeSrv  = queLikeSrv;
 }
Exemplo n.º 3
0
 public StudentProfileController(IStudentProfileService profileSrv,
                                 UserManager <ApplicationUser> userManager,
                                 ApplicationDbContext ctx,
                                 IHostingEnvironment env)
 {
     _profileSrv  = profileSrv;
     _userManager = userManager;
     _env         = env;
     _ctx         = ctx;
 }
 public DashboardManagementService(IAuthorizationService authorizationService, IStudentProfileService studentProfileService,
     ICurriculumService curriculumService, IStudentThemeService studentThemeService, IEUniversityUow universityUow,
     ISubjectManagementService subjectManagementService, IGroupService groupService, IThemeService themeService)
 {
     this.authorizationService = authorizationService;
     this.studentProfileService = studentProfileService;
     this.curriculumService = curriculumService;
     this.studentThemeService = studentThemeService;
     this.universityUow = universityUow;
     this.subjectManagementService = subjectManagementService;
     this.groupService = groupService;
     this.themeService = themeService;
 }
Exemplo n.º 5
0
 public ProfileController(IStudentProfileService studentProfileService)
 {
     _studentProfileService = studentProfileService;
 }
        private void Initialize()
        {
            this.profileService = new StudentProfileService();

            this.Student = profileService.GetStudentProfile(User.UserId);
        }