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;
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
 public MarkController(IMarkService service)
 {
     this._service = service;
 }
 public MarksController(IMarkService markService)
 {
     this.markService = markService;
 }
Ejemplo n.º 5
0
 public ModelController(IMarkService markService, IModelService modelService)
 {
     _markService  = markService;
     _modelService = modelService;
 }
Ejemplo n.º 6
0
 public void Initialize()
 {
     _markService = Substitute.For <IMarkService>();
     _mapper      = Substitute.For <IMapper>();
     _log         = Substitute.For <ILogService>();
 }
Ejemplo n.º 7
0
 public HomeController(ISongService songService, IUserService userService, IMarkService markService)
 {
     this._markService = markService;
     this._userService = userService;
     this._songService = songService;
 }
Ejemplo n.º 8
0
 public CurrentTeacherService(IMapper mapper, IUnitOfWork db, IUserService userService, IMarkService markService)
 {
     this.mapper      = mapper;
     this.db          = db;
     this.userService = userService;
     this.markService = markService;
 }
Ejemplo n.º 9
0
 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;
 }
Ejemplo n.º 10
0
 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;
 }
Ejemplo n.º 11
0
 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;
 }