Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ACSessionModel"/> class.
 /// </summary>
 /// <param name="repository">
 /// The repository.
 /// </param>
 /// <param name="appletItemModel">
 /// The applet Item Model.
 /// </param>
 /// <param name="quizModel">
 /// The quiz Model.
 /// </param>
 /// <param name="surveyModel">
 /// The survey Model.
 /// </param>
 /// <param name="socialProfileModel">
 /// The social Profile Model.
 /// </param>
 /// <param name="testModel">
 /// The test Model.
 /// </param>
 public ACSessionModel(
     IRepository <ACSession, int> repository,
     AppletItemModel appletItemModel,
     QuizModel quizModel,
     SurveyModel surveyModel,
     SNProfileModel socialProfileModel,
     TestModel testModel)
     : base(repository)
 {
     this.appletItemModel    = appletItemModel;
     this.testModel          = testModel;
     this.quizModel          = quizModel;
     this.surveyModel        = surveyModel;
     this.socialProfileModel = socialProfileModel;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SubModuleItemModel"/> class.
 /// </summary>
 /// <param name="repository">
 /// The repository.
 /// </param>
 /// <param name="themeRepository">
 /// The theme Repository.
 /// </param>
 /// <param name="appletItemModel">
 /// The applet item model.
 /// </param>
 /// <param name="quizModel">
 /// The quiz model.
 /// </param>
 /// <param name="surveyModel">
 /// The survey Model.
 /// </param>
 /// <param name="socialProfileModel">
 /// The social network Profile Model.
 /// </param>
 /// <param name="testModel">
 /// The test model.
 /// </param>
 /// <param name="userRepository">
 /// The user Repository.
 /// </param>
 public SubModuleItemModel(
     IRepository <SubModuleItem, int> repository,
     IRepository <SubModuleItemTheme, int> themeRepository,
     AppletItemModel appletItemModel,
     QuizModel quizModel,
     SurveyModel surveyModel,
     SNProfileModel socialProfileModel,
     TestModel testModel,
     IRepository <User, int> userRepository)
     : base(repository)
 {
     this.themeRepository    = themeRepository;
     this.appletItemModel    = appletItemModel;
     this.testModel          = testModel;
     this.quizModel          = quizModel;
     this.surveyModel        = surveyModel;
     this.socialProfileModel = socialProfileModel;
     this.userRepository     = userRepository;
 }