Example #1
0
 public SubjectsController(
     ISubjectsService subjectsService,
     UserManager <ApplicationUser> userManager)
 {
     this.subjectsService = subjectsService;
     this.userManager     = userManager;
 }
Example #2
0
 public void Init()
 {
     this.ConfigureMapper();
     this._context    = new FakeSchoolSystemContext();
     this._service    = new SubjectsService(this._context);
     this._controller = new SubjectsController(this._service);
 }
Example #3
0
 public TeachersToSubjectsService(IUnitOfWork db, ITeachersService teachersService, ISubjectsService subjectsService, TeacherSubjectToDTO toDTO)
 {
     this.db = db;
     this.teachersService = teachersService;
     this.subjectsService = subjectsService;
     this.toDTO           = toDTO;
 }
 public CourseController(
     ICoursesService coursesService,
     ITeachersService teachersService,
     ISubjectsService subjectsService,
     ISubjectTeachersService subjectTeachersService,
     ICourseSubjectsService courseSubjectsService,
     ICourseSubjectTeacherService courseSubjectTeacherService,
     IStudentSubjectsService studentSubjectsService,
     IAttendancesService attendancesService,
     IGradeService gradeService,
     ApplicationDbContext db,
     UserManager <ApplicationUser> userManager)
 {
     this.coursesService              = coursesService;
     this.teachersService             = teachersService;
     this.subjectsService             = subjectsService;
     this.subjectTeachersService      = subjectTeachersService;
     this.courseSubjectsService       = courseSubjectsService;
     this.courseSubjectTeacherService = courseSubjectTeacherService;
     this.studentSubjectsService      = studentSubjectsService;
     this.attendancesService          = attendancesService;
     this.gradeService = gradeService;
     this.db           = db;
     this.userManager  = userManager;
 }
Example #5
0
 public StudentsController(IStudentsService studentsService, IMarksService marksService, ISubjectsService subjectsService, ITeachersService teachersService)
 {
     this.studentsService = studentsService;
     this.marksService    = marksService;
     this.subjectsService = subjectsService;
     this.teachersService = teachersService;
 }
 public SubjectsController(
     ISubjectsService subjectsService,
     IImagesService imagesService)
 {
     _subjectsService = subjectsService;
     _imagesService   = imagesService;
 }
 public TeachersController(
     ISubjectsService subjectsService,
     ITeachersService teachersService)
 {
     _subjectsService = subjectsService;
     _teachersService = teachersService;
 }
Example #8
0
 public EvaluationsController(ILogger <EvaluationsController> logger, IAbsencesService absencesService, IGradesService gradesService, IStudentsService studentsService, ISubjectsService subjectsService)
 {
     _logger          = logger;
     _absencesService = absencesService;
     _gradesService   = gradesService;
     _studentsService = studentsService;
     _subjectsService = subjectsService;
 }
Example #9
0
 public MarksService(IUnitOfWork db, ITeachesService teachsService, IStudentsService studentsService, ISubjectsService subjectsService, IEmailService emailService)
 {
     this.db              = db;
     this.teachsService   = teachsService;
     this.studentsService = studentsService;
     this.subjectsService = subjectsService;
     this.emailService    = emailService;
 }
 public AdminLessonController(
     ILessonsService lessonsService,
     ICommentsService commentsService,
     ISubjectsService subjectsService)
 {
     this.lessonsService = lessonsService;
     this.commentsService = commentsService;
     this.subjectsService = subjectsService;
 }
Example #11
0
 public AttendancesService(
     IRepository <Attendance> attendanceRepository,
     IStudentsService studentsService,
     ISubjectsService subjectsService)
 {
     this.attendanceRepository = attendanceRepository;
     this.studentsService      = studentsService;
     this.subjectsService      = subjectsService;
 }
Example #12
0
 public TeachesService(IUnitOfWork db, IStudentDepartmentsService studentDepartmentsService, ITeachersService teachersService,
                       ISubjectsService subjectsService, IStudentsService studentsService)
 {
     this.db = db;
     this.studentDepartmentsService = studentDepartmentsService;
     this.subjectsService           = subjectsService;
     this.teachersService           = teachersService;
     this.studentsService           = studentsService;
 }
 public UserController(IUsersService usersService, IRolesService rolesService, ISubjectsService subjectsService, IPartialGradesService partialService, IFinalGradesService finalService,
     IGroupsService groupsService)
 {
     this.usersService = usersService;
     this.rolesService = rolesService;
     this.subjectsService = subjectsService;
     this.partialService = partialService;
     this.finalService = finalService;
     this.groupsService = groupsService;
 }
 public GradesController( ICreditingFormService creditingFormService, IFinalGradesService finalGradesService, IPartialGradesService partialGradesService, ISubjectsService subjectsService, IUsersService usersService, IGroupsService groupsService, IRolesService rolesService)
 {
     this.finalGradesService = finalGradesService;
     this.partialGradesService = partialGradesService;
     this.subjectsService = subjectsService;
     this.usersService = usersService;
     this.rolesService = rolesService;
     this.groupsService = groupsService;
     this.creditingFormService = creditingFormService;
 }
Example #15
0
 public FormsToTeacherSubjectsService(IUnitOfWork db, ITeachersService teachersService, ISubjectsService subjectsService, ITeachersToSubjectsService teachersToSubjectsService, IFormsService formsService, IEmailsService emailsService, FTSToDTO toDTO)
 {
     this.db = db;
     this.teachersService           = teachersService;
     this.subjectsService           = subjectsService;
     this.teachersToSubjectsService = teachersToSubjectsService;
     this.formsService  = formsService;
     this.emailsService = emailsService;
     this.toDTO         = toDTO;
 }
Example #16
0
 public AnalysisController(IQuestionsService questionsService, IRecruitsService recruitsService,
                           IOptions <RootSubjectSettings> rootSubjectSettings, ISubjectsService subjectsService, ITermsService termsService, IMapper mapper)
 {
     _questionsService    = questionsService;
     _recruitsService     = recruitsService;
     _subjectsService     = subjectsService;
     _termsService        = termsService;
     _rootSubjectSettings = rootSubjectSettings.Value;
     _mapper = mapper;
 }
 public NotesController(INotesService notesService, ISubjectsService subjectsService, ITermsService termsService,
                        IAttachmentsService attachmentsService, IQuestionsService questionsService, IMapper mapper)
 {
     _notesService       = notesService;
     _subjectsService    = subjectsService;
     _termsService       = termsService;
     _attachmentsService = attachmentsService;
     _questionsService   = questionsService;
     _mapper             = mapper;
 }
 public GradesController(ICreditingFormService creditingFormService, IFinalGradesService finalGradesService, IPartialGradesService partialGradesService, ISubjectsService subjectsService, IUsersService usersService, IGroupsService groupsService, IRolesService rolesService)
 {
     this.finalGradesService   = finalGradesService;
     this.partialGradesService = partialGradesService;
     this.subjectsService      = subjectsService;
     this.usersService         = usersService;
     this.rolesService         = rolesService;
     this.groupsService        = groupsService;
     this.creditingFormService = creditingFormService;
 }
Example #19
0
 public TeachersController(ITeachersService teachersService,
                           ITeacherToSubjectsService teacherToSubjectsService,
                           ISubjectsService subjectsService,
                           IStudentsService studentsService)
 {
     this.teachersService          = teachersService;
     this.teacherToSubjectsService = teacherToSubjectsService;
     this.subjectsService          = subjectsService;
     this.studentsService          = studentsService;
 }
Example #20
0
        public RecruitQuestionsController(IDataService dataService, IQuestionsService questionsService,
                                          IAttachmentsService attachmentsService, ISubjectsService subjectsService, IMapper mapper)
        {
            _dataService = dataService;

            _questionsService   = questionsService;
            _attachmentsService = attachmentsService;
            _subjectsService    = subjectsService;
            _mapper             = mapper;
        }
Example #21
0
 public UserController(IUsersService usersService, IRolesService rolesService, ISubjectsService subjectsService, IPartialGradesService partialService, IFinalGradesService finalService,
                       IGroupsService groupsService)
 {
     this.usersService    = usersService;
     this.rolesService    = rolesService;
     this.subjectsService = subjectsService;
     this.partialService  = partialService;
     this.finalService    = finalService;
     this.groupsService   = groupsService;
 }
 public SettingsController(IOptions <RootSubjectSettings> rootSubjectSettings, IDataService dataService, IRecruitsService recruitsService,
                           ISubjectsService subjectsService, ITermsService termsService, IMapper mapper)
 {
     _dataService         = dataService;
     _recruitsService     = recruitsService;
     _subjectsService     = subjectsService;
     _termsService        = termsService;
     _rootSubjectSettings = rootSubjectSettings.Value;
     _mapper = mapper;
 }
 public CoursesService(
     IRepository <Course> coursesRepository,
     ISubjectsService subjectsService,
     ITeachersService teachersService,
     IRepository <CourseSubjectTeacher> courseSubjectTeacherRepository)
 {
     this.coursesRepository = coursesRepository;
     this.subjectsService   = subjectsService;
     this.teachersService   = teachersService;
     this.courseSubjectTeacherRepository = courseSubjectTeacherRepository;
 }
 public StudentGradesService(IUnitOfWork <IGradesRepository> gradesUnitOfWork,
                             IUnitOfWork <IFinalGradesRepository> finalGradesUnitOfWork, IMapper mapper,
                             IGradebooksService gradebooksService, IStudentsService studentsService, ISubjectsService subjectsService)
 {
     _gradesUnitOfWork      = gradesUnitOfWork;
     _finalGradesUnitOfWork = finalGradesUnitOfWork;
     _mapper            = mapper;
     _gradebooksService = gradebooksService;
     _studentsService   = studentsService;
     _subjectsService   = subjectsService;
 }
Example #25
0
 public LessonsController(
     ISubjectsService subjectsService,
     ILessonsService lessonsService,
     ILessonsUsersService lessonsUsersService,
     UserManager <ApplicationUser> userManager)
 {
     this.subjectsService     = subjectsService;
     this.lessonsService      = lessonsService;
     this.lessonsUsersService = lessonsUsersService;
     this.userManager         = userManager;
 }
Example #26
0
 public SubjectTeachersService(
     IRepository <SubjectTeachers> subjectTeachersRepository,
     IRepository <Subject> subjectRepository,
     ISubjectsService subjectsService,
     ITeachersService teachersService)
 {
     this.subjectTeachersRepository = subjectTeachersRepository;
     this.subjectRepository         = subjectRepository;
     this.subjectsService           = subjectsService;
     this.teachersService           = teachersService;
 }
        public QuestionsController(IQuestionsService questionsService, IRecruitsService recruitsService, IAttachmentsService attachmentsService,
                                   ISubjectsService subjectsService, ITermsService termsService, IMapper mapper)
        {
            _questionsService   = questionsService;
            _recruitsService    = recruitsService;
            _attachmentsService = attachmentsService;
            _subjectsService    = subjectsService;
            _termsService       = termsService;

            _mapper = mapper;
        }
 public InitializeWithPrimaryDataController(IRegionsService regionsService,
                                            ISchoolsService schoolsService, IClassesService classesService,
                                            ISubjectsService subjectsService, IStudentsService studentsService,
                                            IStudentsSubjectsService studentsSubjectsService, IGradesService gradesService)
 {
     this.regionsService          = regionsService;
     this.schoolsService          = schoolsService;
     this.classesService          = classesService;
     this.subjectsService         = subjectsService;
     this.studentsService         = studentsService;
     this.studentsSubjectsService = studentsSubjectsService;
     this.gradesService           = gradesService;
 }
 public AttendanceController(
     ISubjectsService subjectsService,
     IStudentsService studentsService,
     IStudentSubjectsService studentSubjectsService,
     IAttendancesService attendancesService,
     ApplicationDbContext db)
 {
     this.subjectsService        = subjectsService;
     this.studentsService        = studentsService;
     this.studentSubjectsService = studentSubjectsService;
     this.attendancesService     = attendancesService;
     this.db = db;
 }
 public CoursesController(
     ICoursesService coursesService,
     ITagsService tagsService,
     ISubjectsService subjectsService,
     ILecturersService lecturersService,
     UserManager <ApplicationUser> userManager)
 {
     this.coursesService   = coursesService;
     this.tagsService      = tagsService;
     this.subjectsService  = subjectsService;
     this.lecturersService = lecturersService;
     this.userManager      = userManager;
 }
 public HomeController(
     IPostsService postsService,
     IUsersService usersService,
     ISubjectsService subjectsService,
     UserManager <ApplicationUser> userManager,
     ICommentsService commentsService)
 {
     this.postsService    = postsService;
     this.usersService    = usersService;
     this.subjectsService = subjectsService;
     this.userManager     = userManager;
     this.commentsService = commentsService;
 }
Example #32
0
 public Dashboard()
 {
     InitializeComponent();
     _context              = new LTIContext();
     PrintService          = new PrintService();
     StudentsService       = new StudentsService();
     SubjectsService       = new SubjectsService();
     TeachersService       = new TeachersService();
     TrimestresService     = new TrimestresService();
     HistoryStudentService = new HistoryStudentsService();
     PdfService            = new PdfService();
     FileService           = new FileService();
 }
Example #33
0
        public SubjectsListPage(IPageInstatiator nextPageInstantiator)
        {
            InitializeComponent();

            subjectsService           = App.LogicContext.SubjectsService;
            this.nextPageInstantiator = nextPageInstantiator;
            exceptionHandler          = App.LogicContext.ExceptionHandler;
            requestCounselViewModel   = new RequestCounselPageViewModel()
            {
                Subjects = new SubjectDto[] { }
            };

            BindingContext = requestCounselViewModel;
        }
 public SubjectsController(IUsersService usersService, IGroupsService groupsService, ISubjectsService subjectService)
 {
     this.usersService = usersService;
     this.groupsService = groupsService;
     this.subjectService = subjectService;
 }
 public GroupsController(IGroupsService groupsService, ISubjectsService subjectsService)
 {
     this.groupsService = groupsService;
     this.subjectsService = subjectsService;
 }