Exemple #1
0
 public Server_BuildHandler()
 {
     _buildList     = new List <BuildModel>();
     _buildRepo     = new BuildRepo();
     _componentRepo = new ComponentRepo();
     _ratingRepo    = new RatingRepo();
 }
 public QuizController(UserManager <AppUser> userManager, IQuizRepo quizRepository, IQuestionRepo questionRepo, IAnswerRepo answerRepo, IRatingRepo ratingRepo)
 {
     this._userManager  = userManager;
     this._quizRepo     = quizRepository;
     this._questionRepo = questionRepo;
     this._answerRepo   = answerRepo;
     this._ratingRepo   = ratingRepo;
 }
Exemple #3
0
 public Server_ForumHandler()
 {
     _postRepo     = new PostRepo();
     _commentRepo  = new CommentRepo();
     _postList     = new List <PostModel>();
     _commentList  = new List <CommentModel>();
     _ratingRepo   = new RatingRepo();
     _reportRepo   = new ReportRepo();
     _reportModels = new List <ReportModel>();
 }
 public AdminController(RoleManager <IdentityRole> roleMgr, UserManager <AppUser> userMgr, IRatingRepo ratingRepo)
 {
     this._roleMgr    = roleMgr;
     this._userMgr    = userMgr;
     this._ratingRepo = ratingRepo;
 }
Exemple #5
0
 public Server_ComponentHandler()
 {
     _componentList = new List <ComponentModel>();
     _componentRepo = new ComponentRepo();
     _ratingRepo    = new RatingRepo();
 }
 public RatingService(IRatingRepo ratingRepo)
 {
     rating = ratingRepo;
 }
Exemple #7
0
 public RatingsController(IRatingRepo repo)
 {
     Repo = repo;
 }
Exemple #8
0
 public RatingService(IRatingRepo repo)
 {
     ratingRepo = repo;
 }
 public RatingController(IRatingRepo repository, IMapper mapper)
 {
     this.repository = repository;
     this.mapper     = mapper;
 }
Exemple #10
0
 public RatingService(IGenericRepository <Rating> genericRepo, IRatingRepo ratingRepo)
 {
     GenericRepo = genericRepo;
     RatingRepo  = ratingRepo;
 }