public HomeController(IUnitOfWork uow, ISubjectService subjectService, IProductCategoryService categoryService, IChapterService chapterService, IGalleryService galleryService) { _uow = uow; _subjectService = subjectService; _productCategoryService = categoryService; _galleryService = galleryService; }
public LoockupManagementService(ISpecialityService specialityService, ISpecializationService specializationService, IProfessorProfileService professorProfileService, IGroupService groupService, ISubjectService subjectService, IThemeService themeService) { this.specialityService = specialityService; this.specializationService = specializationService; this.professorProfileService = professorProfileService; this.groupService = groupService; this.subjectService = subjectService; this.themeService = themeService; }
public ScheduleService(ILogger logger, IUnitOfWork unitOfWork, ITeacherService teacherService, ISubjectService subjectService, IGroupService groupService, ILessonDetailService lessonDetail) : base(logger) { this.unitOfWork = unitOfWork; this.teacherService = teacherService; this.subjectService = subjectService; this.groupService = groupService; this.lessonDetailService = lessonDetail; }
public MainViewModel(IAppPreferences appPreferences, IRegionService regionService, ISubjectService subjectService, IComputeService computeService, IEventAggregator eventAggregator) { _appPreferences = appPreferences; _regionService = regionService; _subjectService = subjectService; _computeService = computeService; _eventAggregator = eventAggregator; this.DisplayName = "REGIONS"; Regions = new BindableCollection<RegionViewModel>(); _eventAggregator.Subscribe(this); }
public SubjectController(ISubjectService subjectService, IPerformanceService performanceService, ISubjectInfoService subjectInfoService) { _subjectService = subjectService; _performanceService = performanceService; _subjectInfoService = subjectInfoService; }
public TeacherSubjectController(ITeacherSubjectService teacherSubjectService, ITeacherService teacherService, ISubjectService subjectService) { this.teacherSubjectService = teacherSubjectService; this.teacherService = teacherService; this.subjectService = subjectService; }
public SpeakerController(ISpeakerService speakerService, ISubjectService subjectService, UserManager <IdentityUser> userManager) { _speakerService = speakerService; _subjectService = subjectService; _userManager = userManager; }
public EntryExaminationController(ITiMuService tiMuService, IBookWorkTaskService bookWorkTaskService, ISubjectService subjectService, IBookChapterService bookChapterService, IQuestionService questionService, IWorkContext workContext, IBookWorkTaskItemService bookWorkTaskItemService, IKnowledgeService knowledgeService) { _tiMuService = tiMuService; _bookWorkTaskService = bookWorkTaskService; _subjectService = subjectService; _bookChapterService = bookChapterService; _questionService = questionService; _workContext = workContext; _bookWorkTaskItemService = bookWorkTaskItemService; _knowledgeService = knowledgeService; }
public RegistrationMutation(IAddressService addressService, ICourseService courseService, IStudentService studentService, ISubjectService subjectService) { FieldAsync <AddressType> ( "AddAddress", arguments: new QueryArguments ( new QueryArgument <NonNullGraphType <AddressInputType> > { Name = "address" } ), resolve: async ctx => { var address = ctx.GetArgument <Address>("address"); return(await addressService.Add(address)); } ); FieldAsync <AddressType> ( "updateAddress", arguments: new QueryArguments ( new QueryArgument <NonNullGraphType <AddressInputType> > { Name = "address" }, new QueryArgument <NonNullGraphType <IntGraphType> > { Name = "addressId" } ), resolve: async ctx => { var address = ctx.GetArgument <Address>("address"); var addressId = ctx.GetArgument <int>("addressId"); var existingAddress = addressService.GetById(addressId); if (existingAddress == null) { return(null); } address.Id = addressId; return(await addressService.Update(addressId, address)); } ); FieldAsync <CourseType> ( "AddCourse", arguments: new QueryArguments ( new QueryArgument <NonNullGraphType <CourseInputType> > { Name = "course" } ), resolve: async ctx => { var course = ctx.GetArgument <Course>("course"); return(await courseService.Add(course)); } ); FieldAsync <CourseType> ( "updateCourse", arguments: new QueryArguments ( new QueryArgument <NonNullGraphType <CourseInputType> > { Name = "course" }, new QueryArgument <NonNullGraphType <IntGraphType> > { Name = "courseId" } ), resolve: async ctx => { var course = ctx.GetArgument <Course>("course"); var courseId = ctx.GetArgument <int>("courseId"); var existingCourse = await courseService.GetById(courseId); if (existingCourse == null) { return(null); } course.Id = courseId; return(await courseService.Update(courseId, course)); } ); FieldAsync <StudentType> ( "addStudent", arguments: new QueryArguments { new QueryArgument <NonNullGraphType <StudentInputType> > { Name = "student" } }, resolve: async ctx => { var student = ctx.GetArgument <Student>("student"); return(await studentService.Add(student)); } ); FieldAsync <StudentType> ( "updateStudent", arguments: new QueryArguments ( new QueryArgument <NonNullGraphType <StudentInputType> > { Name = "student" }, new QueryArgument <NonNullGraphType <StringGraphType> > { Name = "studentNumber" } ), resolve: async ctx => { var student = ctx.GetArgument <Student>("student"); var studentNumber = ctx.GetArgument <string>("studentNumber"); var existingStudent = await studentService.GetByStudentNumber(studentNumber); if (existingStudent == null) { return(null); } student.StudentNumber = studentNumber; return(await studentService.Update(studentNumber, student)); } ); FieldAsync <SubjectType> ( "addSubject", arguments: new QueryArguments { new QueryArgument <NonNullGraphType <SubjectInputType> > { Name = "subject" } }, resolve: async ctx => { var subject = ctx.GetArgument <Subject>("subject"); return(await subjectService.Add(subject)); } ); FieldAsync <SubjectType> ( "updateSubject", arguments: new QueryArguments ( new QueryArgument <NonNullGraphType <SubjectInputType> > { Name = "subject" }, new QueryArgument <NonNullGraphType <IntGraphType> > { Name = "subjectId" } ), resolve: async ctx => { var subject = ctx.GetArgument <Subject>("subject"); var subjectId = ctx.GetArgument <int>("subjectId"); var existingSubject = subjectService.GetById(subjectId); if (existingSubject == null) { return(null); } subject.Id = subjectId; return(await subjectService.Update(subjectId, subject)); } ); }
public TeacherController(ITeacherService teacherService, IUserService userService, ISubjectService subjectService) { this.teacherService = teacherService; this.userService = userService; this.subjectService = subjectService; }
public SubjectsController(ISubjectService subjectService) { this.subjectService = subjectService; }
public LessonService(IRepository <Lesson> repository, ISubjectService subjectService) : base(repository) { SubjectService = subjectService; }
public SubjectsController(ISubjectService SubjectsService) { _SubjectsService = SubjectsService; }
public ProgressionController(IProgressionService progression, ISubjectService subjects, IConceptService concepts) { _progression = progression; _subjects = subjects; _concepts = concepts; }
public SubjectController(ISubjectService SubjectService, ILookupService lookupService) : base() { this._SubjectService = SubjectService; this._lookupService = lookupService; }
public SubjectsController(ILogger logger, ISubjectService subjects, IScheduleService schedule) : base(logger) { this.subjectService = subjects; this.scheduleServise = schedule; }
public ClassesController(ISubjectService subjectService) { _subjectService = subjectService; }
public SubjectsController(ISubjectService subjectService) { //_context = context; _subjectService = subjectService; }
public StudentController(IAuthentication authentication, ISubjectService subjectService) { _authentication = authentication; _subjectService = subjectService; }
public SubjectController(ISubjectService subjectService) { _subjectService = subjectService; }
public SubjectsController(ISubjectService subjectService, IMapper mapper) { this.subjectService = subjectService; this.mapper = mapper; }
public SubjectManagementService(ISubjectService subjectService, IEUniversityUow universityUow) { this.subjectService = subjectService; this.universityUow = universityUow; }
public ProjectController(IProjectService projectService, ISubjectService subjectService, IMapper mapper) { _projectService = projectService; _subjectService = subjectService; _mapper = mapper; }
public LiveTilesViewModel(IEventAggregator eventAggregator, IComputeService computeService, IRegionService regionService, ISubjectService subjectService) { _eventAggregator = eventAggregator; _computeService = computeService; _regionService = regionService; _subjectService = subjectService; Permutations = _appPreferences.Permutations; Groups = "None"; PermutationsComplete = 0; _eventAggregator.Subscribe(this); }
public SubjectServiceTests() { this.doctorRepositoryMock = new Mock <IDoctorRepository>(); this.sut = new SubjectService(this.doctorRepositoryMock.Object); }
public GetSubjectModel() { _subjectService = Startup.AutofacContainer.Resolve <ISubjectService>(); }
public GradesController(IGradeService gradeService, ISubjectService subjectService, IClassNumberService classNumberService) { this.gradeService = gradeService; this.subjectService = subjectService; this.classNumberService = classNumberService; }
public ProfileController(IProfileService profileService, ISubjectService subjectService) { _profileService = profileService; _subjectService = subjectService; }
public BatchController(IClassService classService, ILogger logger, IRepository repository, IBatchService batchService, ISubjectService subjectService, IStudentService studentService, IAspNetRoles aspNetRolesService) { _classService = classService; _logger = logger; _repository = repository; _batchService = batchService; _subjectService = subjectService; _studentService = studentService; _aspNetRolesService = aspNetRolesService; }
public MarkController(IMarkService markService, IStudentService studentService, ISubjectService subjectService) : base() { this.markService = markService; this.studentService = studentService; this.subjectService = subjectService; }
public UserExamController(IConfiguration config, IUserExamService userExamService, IUserService userService, ISubjectService subjectService) { this.userExamService = userExamService; this.userService = userService; this.subjectService = subjectService; this.config = config; }
// constructor public SubjectsController(IMapper mapper, ISubjectService subjectService) { _mapper = mapper; _subjectService = subjectService; }
public SubjectController(IDatabaseWorker databaseWorker, IAuthentication authentication, ISubjectService subjectService, ITaskService taskService) { _databaseWorker = databaseWorker; _authentication = authentication; _subjectService = subjectService; _taskService = taskService; Console.WriteLine(" SUBJECT CONTROLLER CONSTRUCTOR "); }
public SubjectAppService(ISubjectService service) { _service = service; }
public CurriculumController(ISubjectService subjectService) { _subjectService = subjectService; }
public SubjectController() { _subjectService = new SubjectService(); }
public ComputeService(ISubjectService subjectService, IRegionService regionService, IEventAggregator eventAggregator) { _subjectService = subjectService; _regionService = regionService; _eventAggregator = eventAggregator; }
public SubjectController(ISubjectService service, IMapper mapper, ILogger <SubjectController> logger) { _service = service ?? throw new ArgumentNullException(nameof(service)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public SubjectController(ISubjectService subjectService, IMappingEngine mappingEngine) { _subjectService = subjectService; _mappingEngine = mappingEngine; }
public TeacherService(ILogger logger, IUnitOfWork teacherUnitOfWork,ISubjectService subjectService) : base(logger) { this.unitOfWork = teacherUnitOfWork; this.subjectService = subjectService; }
public ContentsController(IUnitOfWork ouw, ISubjectService subjectService, IChapterService chapterService) { _uow = ouw; _subjectService = subjectService; _chapterService = chapterService; }
public SubjectsController(ISubjectService subjectService) { this.subjectService = subjectService; }
public SubjectController(ISubjectService subjectService) : base() { this.subjectService = subjectService; }