public MovieController(IMovieService ms, IMarkService marks, IUserService us, IFavoriteService fs) { movieService = ms; markService = marks; userService = us; favoriteService = fs; var scale = new SelectList( new int[] { 1, 2, 3, 4, 5 }.Select( x => new SelectListItem { Value = x.ToString(), Text = x.ToString() }), "value", "text"); ViewBag.MarkScale = scale; }
public StudentsController(IStudentService studentService, IParentService parentService, IGradeService gradeService, ISubjectService subjectService, IMarkService markService, IClassNumberService classNumberService) { this.studentService = studentService; this.parentService = parentService; this.gradeService = gradeService; this.subjectService = subjectService; this.markService = markService; this.classNumberService = classNumberService; }
public MarkController(IMarkService service) { this._service = service; }
public MarksController(IMarkService markService) { this.markService = markService; }
public ModelController(IMarkService markService, IModelService modelService) { _markService = markService; _modelService = modelService; }
public void Initialize() { _markService = Substitute.For <IMarkService>(); _mapper = Substitute.For <IMapper>(); _log = Substitute.For <ILogService>(); }
public HomeController(ISongService songService, IUserService userService, IMarkService markService) { this._markService = markService; this._userService = userService; this._songService = songService; }
public CurrentTeacherService(IMapper mapper, IUnitOfWork db, IUserService userService, IMarkService markService) { this.mapper = mapper; this.db = db; this.userService = userService; this.markService = markService; }
public ActivityController(ActivitiesInteractor activitiesInteractor, IUserService userService, IMapper mapper, ISimpleManager <Comment> commentSimpleManager, IMarkService markService, IActivitiesUsersService activitiesUsersService) { this.activitiesInteractor = activitiesInteractor; this.mapper = mapper; this.userService = userService; this.commentSimpleManager = commentSimpleManager; this.markService = markService; this.activitiesUsersService = activitiesUsersService; }
public HomeController(ICategoryService categoryService, ICommentService commentService, IMarkService markService, IPostService postService, IProfileService profileService, IReplyService replyService, IRoleService roleService, ITopicService topicService, IUserService userService) { this.categoryService = categoryService; this.commentService = commentService; this.markService = markService; this.postService = postService; this.profileService = profileService; this.replyService = replyService; this.roleService = roleService; this.topicService = topicService; this.userService = userService; }
public Teacher(IMarkService ms) { _ms = ms; }
public StatementService(IUnitOfWork unitOfWork, ILogger logger, IMessageSender messageSender, IStudentStatusService studentStatusService, IMarkService markService) { _unitOfWork = unitOfWork; _logger = logger; _messageSender = messageSender; _studentStatusService = studentStatusService; _markService = markService; }