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; }
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; }
public Server_ComponentHandler() { _componentList = new List <ComponentModel>(); _componentRepo = new ComponentRepo(); _ratingRepo = new RatingRepo(); }
public RatingService(IRatingRepo ratingRepo) { rating = ratingRepo; }
public RatingsController(IRatingRepo repo) { Repo = repo; }
public RatingService(IRatingRepo repo) { ratingRepo = repo; }
public RatingController(IRatingRepo repository, IMapper mapper) { this.repository = repository; this.mapper = mapper; }
public RatingService(IGenericRepository <Rating> genericRepo, IRatingRepo ratingRepo) { GenericRepo = genericRepo; RatingRepo = ratingRepo; }