public InternshipService(IUnitOfWork unitOfWork, ISemesterService semesterService, IEmailService emailService, IEmailHistoryService emailHistoryService) : base(unitOfWork) { _semesterService = semesterService; _emailService = emailService; _emailHistoryService = emailHistoryService; }
public ExamsViewModel( IExamService examService, ICourseService courseService, IEnrolmentService enrolmentService, IStudentExamService studentExamService, ISemesterService semesterService, IExportService exportService, IDownloadFileService downloadFileService) { _examService = examService; _courseService = courseService; _enrolmentService = enrolmentService; _studentExamService = studentExamService; _semesterService = semesterService; _exportService = exportService; _downloadFileService = downloadFileService; _startExportCommand = new DelegateCommand(OnStartExport, CanStartExport); _exportCommand = new DelegateCommand(OnExport, CanExport); _addStudentsCommand = new DelegateCommand(OnAddStudents, CanAddStudents); _addStudentsSaveCommand = new DelegateCommand(OnAddStudentsSave, CanAddStudentsSave); _addStudentsDiscardCommand = new DelegateCommand(OnAddStudentsDiscard, CanAddStudentsDiscard); _studentsCommand = new DelegateCommand(OnStudents, CanStudents); _saveEditStudentsCommand = new DelegateCommand(OnSaveEditStudents, CanSaveEditStudents); _deleteStudentsCommand = new DelegateCommand(OnDeleteStudents, CanDeleteStudents); _saveAllStudentsCommand = new DelegateCommand(OnSaveAllStudents, CanSaveAllStudents); }
public async Task <IActionResult> Profile( [FromServices] IUserSevice userService, [FromServices] ISemesterService semesterService, [FromServices] IThemeService themeService, [FromServices] ISubjectService subjectService, [FromServices] IGroupService groupService, [FromServices] IMapper mapper) { var user = await userService.GetUserByIdAsync(User.GetId()); if (user == null) { return(NotFound()); } var semester = await semesterService.GetCurrentSemesterAsync(); var themes = await themeService.GetThemesAsync(new ThemeFilter { AuthorId = user.Id }); var model = mapper.Map <UserModel, ProfileViewModel>(user); if (user.GroupId.HasValue) { var subjects = await subjectService.GetSubjectsAsync(user.GroupId.Value, semester.Id); var group = await groupService.GetGroupAsync(user.GroupId.Value); model.Subjects = mapper.Map <ICollection <SubjectModel>, ICollection <SubjectViewModel> >(subjects); model.Group = mapper.Map <GroupModel, GroupViewModel>(group); } model.Themes = mapper.Map <ICollection <ThemeModel>, ICollection <ThemeViewModel> >(themes); return(Ok(model)); }
public frmEmployeeWorkload(IEmployeeService empSvc, ISemesterService semSvc, IWorkloadService wsvc, IDropdownService drp) { this.empSvc = empSvc; this.semSvc = semSvc; this.wsvc = wsvc; this.drp = drp; }
public InternshipController(IInternshipService internshipService, IGroupService groupService, ISemesterService semesterService) { _internshipService = internshipService; _groupService = groupService; _semesterService = semesterService; }
public ExamProgramController(ICurrentContext CurrentContext, IExamProgramService ExamProgramService, ISemesterService SemesterService ) : base(CurrentContext) { this.ExamProgramService = ExamProgramService; this.SemesterService = SemesterService; }
public CourseInstances(ICourseService courseService, ISemesterService semesterService) { viewModel = new CourseInstancesViewModel(courseService, semesterService); InitializeComponent(); this.Loaded += CourseInstancesTable_Load; }
public PlanService(AppDbContext context, ISemesterService semesterService, IMapper mapper) { _context = context; _semesterService = semesterService; _mapper = mapper; }
public Semesters(ISemesterService semesterService) { viewModel = new SemestersViewModel(semesterService); InitializeComponent(); this.Loaded += SemestersTable_Load; }
public LearningClassController(ILearningClassService learningClassService, IStudentService studentService, ISubjectService subjectService, ISemesterService semesterService) { _learningClassService = learningClassService; _studentService = studentService; _subjectService = subjectService; _semesterService = semesterService; }
public SemestersController(SchoolDBContext schoolDBContext, IMasterService masterService, ISemesterService semesterService) { _schoolDBContext = schoolDBContext; _masterService = masterService; _semesterService = semesterService; }
public TermController(ICurrentContext CurrentContext, ITermService TermService, ISemesterService SemesterService ) : base(CurrentContext) { this.TermService = TermService; this.SemesterService = SemesterService; }
public RecordController(ISubjectService subjectService, ISemesterService semesterService, IRecordService recordService, IProfessorService professorfService, IStudentService studentService) { this._subjectService = subjectService; this._semesterService = semesterService; this._recordService = recordService; this._professorService = professorfService; this._studentService = studentService; }
public MarksController(IMarkService markService, IStudentService studentService, ITeacherService teacherService, ISubjectService subjectService, IGradeService gradeService, ISemesterService semesterService) { this.markService = markService; this.studentService = studentService; this.teacherService = teacherService; this.subjectService = subjectService; this.gradeService = gradeService; this.semesterService = semesterService; }
public CurriculumAddedRequestConsumer(ILogger <CurriculumAddedRequestConsumer> logger, ICurriculumService curriculumService, IStudentService studentService, ICurriculumScheduleService curriculumScheduleService, ISemesterService semesterService) { _logger = logger; _curriculumService = curriculumService; _studentService = studentService; _curriculumScheduleService = curriculumScheduleService; _semesterService = semesterService; }
public ReportController(IResultService resultService, IStudentService studentService, IClassService classService, ISubjectService subjectService, ISemesterService semesterService, IReportService reportService, IExistHelper exist) { _resultService = resultService; _studentService = studentService; _classService = classService; _subjectService = subjectService; _semesterService = semesterService; _reportService = reportService; resp = new ResponseHelper(); }
public EmailService(ITeacherService teacherService, ISemesterService semesterService, IGroupService groupService, ICompanyTrainingMajorService companyTrainingMajorService, ICompanyService companyService, IEmailHistoryService emailHistoryService) { _teacherService = teacherService; _semesterService = semesterService; _groupService = groupService; _companyTrainingMajorService = companyTrainingMajorService; _companyService = companyService; _emailHistoryService = emailHistoryService; }
public StudentGrpcService(IUserGrpcService userGrpcService, IStudentService studentService, ILogger <StudentGrpcService> logger, ISemesterService semesterService, ICurriculumScheduleService curriculumSchedule, ICurriculumScheduleService curriculumScheduleService, ICurriculumService curriculumService) { _userGrpcService = userGrpcService; _studentService = studentService; _logger = logger; _semesterService = semesterService; _curriculumScheduleService = curriculumScheduleService; _curriculumService = curriculumService; }
public ExaminationController() { topicService = new TopicService(); learningOutcomeService = new LearningOutcomeService(); examinationService = new ExaminationService(); partOfExamService = new PartOfExamService(); categoryService = new CategoryService(); semesterService = new SemesterService(); logService = new LogService(); courseService = new CourseService(); questionService = new QuestionService(); }
public OralExam( IExamService examService, ICourseService courseService, ISemesterService semesterService, IEnrolmentService enrolmentService, IStudentService studentService, IStudentExamService studentExamService) { viewModel = new OralExamViewModel(examService, courseService, semesterService, enrolmentService, studentService, studentExamService); InitializeComponent(); this.Loaded += Data_Load; }
public Exams( IExamService examService, ICourseService courseService, IEnrolmentService enrolmentService, IStudentExamService studentExamService, ISemesterService semesterService, IExportService exportService, IDownloadFileService downloadFileService) { viewModel = new ExamsViewModel(examService, courseService, enrolmentService, studentExamService, semesterService, exportService, downloadFileService); InitializeComponent(); this.Loaded += ExamsTable_Load; }
public ProfileController( IMapper mapper, IUserSevice userService, ISubjectService subjectService, IThemeService themeService, ISemesterService semesterService, IGroupService groupService) { Mapper = mapper; UserService = userService; SubjectService = subjectService; ThemeService = themeService; SemesterService = semesterService; GroupService = groupService; }
public ExamsViewModel( IExamService examService, ICourseService courseService, IEnrolmentService enrolmentService, IStudentExamService studentExamService, ISemesterService semesterService, IExportService exportService) { _examService = examService; _courseService = courseService; _enrolmentService = enrolmentService; _studentExamService = studentExamService; _semesterService = semesterService; _exportService = exportService; }
public CourseInstancesViewModel( ICourseService courseService, ISemesterService semesterService) { _courseService = courseService; _semesterService = semesterService; _courseStartAddCommand = new DelegateCommand(OnCourseStartAdd, CanCourseStartAdd); _semesterStartAddCommand = new DelegateCommand(OnSemesterStartAdd, CanSemesterStartAdd); _courseSaveAddCommand = new DelegateCommand(OnCourseSaveAdd, CanCourseSaveAdd); _semesterSaveAddCommand = new DelegateCommand(OnSemesterSaveAdd, CanSemesterSaveAdd); _courseDiscardAddCommand = new DelegateCommand(OnCourseDiscardAdd, CanCourseDiscardAdd); _semesterDiscardAddCommand = new DelegateCommand(OnSemesterDiscardAdd, CanSemesterDiscardAdd); }
public OralExamViewModel( IExamService examService, ICourseService courseService, ISemesterService semesterService, IEnrolmentService enrolmentService, IStudentService studentService, IStudentExamService studentExamService) { _examService = examService; _courseService = courseService; _semesterService = semesterService; _enrolmentService = enrolmentService; _studentService = studentService; _studentExamService = studentExamService; _startExamCommand = new DelegateCommand(OnStartExam, CanStartExam); _selectExistingExam = new DelegateCommand(OnSelectExistingExam, CanSelectExistingExam); _selectNewExam = new DelegateCommand(OnSelectNewExam, CanSelectNewExam); }
public MainWindow( ICourseService courseService, IStudentService studentService, ISemesterService semesterService, IStudentExamService studentExamService, IEnrolmentService enrolmentService, IExamService examService, IExportService exportService, IDownloadFileService downloadFileService) { _courseService = courseService; _studentService = studentService; _semesterService = semesterService; _studentExamService = studentExamService; _enrolmentService = enrolmentService; _examService = examService; _exportService = exportService; _downloadFileService = downloadFileService; InitializeComponent(); }
public SemestersController(ISemesterService semesterService) { this.semesterService = semesterService; }
public SemestersController(IMapper mapper, ISemesterService semesterService, ITeacherService teacherService, IStudentService studentService) { _semesterService = semesterService; }
public frmSemester_AE(ISemesterService svc) { this.svc = svc; }
public SemesterController(ISemesterService semesterService, IExistHelper exist) { _semesterService = semesterService; _exist = exist; resp = new ResponseHelper(); }
public SemesterManagementService(ISemesterService semesterService, ISubjectManagementService subjectManagementService) { this.semesterService = semesterService; this.subjectManagementService = subjectManagementService; }