Ejemplo n.º 1
0
 public TeachersToSubjectsService(IUnitOfWork db, ITeachersService teachersService, ISubjectsService subjectsService, TeacherSubjectToDTO toDTO)
 {
     this.db = db;
     this.teachersService = teachersService;
     this.subjectsService = subjectsService;
     this.toDTO           = toDTO;
 }
Ejemplo n.º 2
0
 public TasksController(ITasksService tasksService, ITeachersService teachersService, IStudentsService studentsService, ILogger <AssignmentsController> logger)
 {
     _tasksService    = tasksService;
     _teachersService = teachersService;
     _studentsService = studentsService;
     _logger          = logger;
 }
Ejemplo n.º 3
0
 public AccountsController(IAccountsService userService, IStudentsService studentsService, IParentsService parentsService, ITeachersService teachersService)
 {
     service = userService;
     this.studentsService = studentsService;
     this.parentsService  = parentsService;
     this.teachersService = teachersService;
 }
 public TeachersController(
     ApplicationDbContext dbContext,
     ITeachersService teachersService)
 {
     this.dbContext       = dbContext;
     this.teachersService = teachersService;
 }
Ejemplo n.º 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 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;
 }
Ejemplo n.º 7
0
 public TeachersController(
     ISubjectsService subjectsService,
     ITeachersService teachersService)
 {
     _subjectsService = subjectsService;
     _teachersService = teachersService;
 }
 public CommentsController(IAssignmentsService assignmentsService,
                           IStudentsService studentsService, ITeachersService teachersService, ICommentsService commentsService)
 {
     _assignmentsService = assignmentsService;
     _studentsService    = studentsService;
     _teachersService    = teachersService;
     _commentsService    = commentsService;
 }
Ejemplo n.º 9
0
 //private readonly ILevelsService levelsService;
 public BaseController(IGroupsService groupsService, ITeachersService teachersService, IStudentsService studentsService, IParentsService parentsService /*, ILevelsService levelsService*/)
 {
     this.groupsService   = groupsService;
     this.teachersService = teachersService;
     this.studentsService = studentsService;
     this.parentsService  = parentsService;
     //this.levelsService = levelsService;
 }
Ejemplo n.º 10
0
 public void Setup()
 {
     _teachersRepositoryMock = new Mock <IDeletableEntityRepository <Teacher> >();
     _schoolsRepositoryMock  = new Mock <IDeletableEntityRepository <School> >();
     _teachersService        = new TeachersService(
         _teachersRepositoryMock.Object,
         _schoolsRepositoryMock.Object,
         new IdGeneratorService());
 }
Ejemplo n.º 11
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;
 }
Ejemplo n.º 12
0
 public TeachersController(ITeachersService teachersService,
                           ITeacherToSubjectsService teacherToSubjectsService,
                           ISubjectsService subjectsService,
                           IStudentsService studentsService)
 {
     this.teachersService          = teachersService;
     this.teacherToSubjectsService = teacherToSubjectsService;
     this.subjectsService          = subjectsService;
     this.studentsService          = studentsService;
 }
Ejemplo n.º 13
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;
 }
Ejemplo n.º 14
0
 public MeController(
     IParentsService parentsService,
     ITeachersService teachersService,
     IAdminService adminService,
     IStudentsService studentsService)
 {
     _parentsService  = parentsService;
     _teachersService = teachersService;
     _adminService    = adminService;
     _studentsService = studentsService;
 }
 public CoursesService(
     IRepository <Course> coursesRepository,
     ISubjectsService subjectsService,
     ITeachersService teachersService,
     IRepository <CourseSubjectTeacher> courseSubjectTeacherRepository)
 {
     this.coursesRepository = coursesRepository;
     this.subjectsService   = subjectsService;
     this.teachersService   = teachersService;
     this.courseSubjectTeacherRepository = courseSubjectTeacherRepository;
 }
Ejemplo n.º 16
0
 public TeachersController(
     IDeletableEntityRepository <Teacher> teachersRepository,
     IDeletableEntityRepository <NurseryGroup> groupsRepository,
     IGroupsService groupsService,
     ITeachersService teachersService)
 {
     this.teachersRepository = teachersRepository;
     this.groupsRepository   = groupsRepository;
     this.groupsService      = groupsService;
     this.teachersService    = teachersService;
 }
Ejemplo n.º 17
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;
 }
Ejemplo n.º 18
0
 public APIController(
     ITagsService tags,
     IStudentsService students,
     ITeachersService teachers,
     IDiplomasService diplomas)
 {
     this.tags = tags;
     this.students = students;
     this.teachers = teachers;
     this.diplomas = diplomas;
 }
 public ExternalLoginModel(
     SignInManager <ApplicationUser> signInManager,
     UserManager <ApplicationUser> userManager,
     ILogger <ExternalLoginModel> logger,
     IEmailSender emailSender,
     ITeachersService teachersService)
 {
     _signInManager   = signInManager;
     _userManager     = userManager;
     _logger          = logger;
     _emailSender     = emailSender;
     _teachersService = teachersService;
 }
Ejemplo n.º 20
0
 public HomeController(
     IDiplomasService diplomas,
     ITeachersService teachers,
     IStudentsService students,
     IMessagesService messages,
     ITagsService tags)
 {
     this.diplomas = diplomas;
     this.teachers = teachers;
     this.students = students;
     this.messages = messages;
     this.tags = tags;
 }
Ejemplo n.º 21
0
 public RegisterModel(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     ILogger <RegisterModel> logger,
     IEmailSender emailSender, ITeachersService teachersService, IStudentsService studentsService)
 {
     _userManager     = userManager;
     _signInManager   = signInManager;
     _logger          = logger;
     _emailSender     = emailSender;
     _teachersService = teachersService;
     _studentsService = studentsService;
 }
Ejemplo n.º 22
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();
 }
Ejemplo n.º 23
0
 public ClassesController(
     UserManager <ApplicationUser> userManager,
     IClassesService classesService,
     ISchoolsServices schoolsServices,
     ITeachersService teachersService,
     IStudentsService studentsService,
     IParentsService parentsService)
 {
     _userManager     = userManager;
     _classesService  = classesService;
     _schoolsServices = schoolsServices;
     _teachersService = teachersService;
     _studentsService = studentsService;
     _parentsService  = parentsService;
 }
 public TeacherController(
     ApplicationDbContext db,
     ITeachersService teachersService,
     ISubjectsService subjectsService,
     IStudentsService studentsService,
     ISubjectTeachersService subjectTeachersService,
     ICoursesService coursesService,
     ICourseSubjectTeacherService courseSubjectTeacherService)
 {
     this.db = db;
     this.teachersService             = teachersService;
     this.subjectsService             = subjectsService;
     this.studentsService             = studentsService;
     this.subjectTeachersService      = subjectTeachersService;
     this.coursesService              = coursesService;
     this.courseSubjectTeacherService = courseSubjectTeacherService;
 }
Ejemplo n.º 25
0
 public SubjectsController(
     ILogger <SubjectsController> logger,
     UserManager <ApplicationUser> userManager,
     ISubjectsService subjectsService,
     ITeachersService teachersService,
     IStudentsService studentsService,
     IParentsService parentsService,
     ISchoolsServices schoolsServices)
 {
     _logger          = logger;
     _userManager     = userManager;
     _subjectsService = subjectsService;
     _teachersService = teachersService;
     _studentsService = studentsService;
     _parentsService  = parentsService;
     _schoolsServices = schoolsServices;
 }
Ejemplo n.º 26
0
 public ManagementController(
     ILogger <ManagementController> logger,
     UserManager <ApplicationUser> userManager,
     ISchoolsServices schoolsServices,
     IStudentsService studentsService,
     ITeachersService teachersService,
     ISubjectsService subjectsService,
     IParentsService parentsService,
     IClassesService classesService)
 {
     _logger          = logger;
     _userManager     = userManager;
     _schoolsServices = schoolsServices;
     _studentsService = studentsService;
     _teachersService = teachersService;
     _subjectsService = subjectsService;
     _parentsService  = parentsService;
     _classesService  = classesService;
 }
 public StudentsController(IStudentsService studentsService, ITeachersService teachersService, IParentsService parentsService, IGroupsService groupsService)
     : base(groupsService, teachersService, studentsService, parentsService)
 {
 }
Ejemplo n.º 28
0
 public ManageController(IStudentsService students, ITeachersService teachers)
 {
     this.students = students;
     this.teachers = teachers;
 }
Ejemplo n.º 29
0
 public TeachersController(ITeachersService teachersService, IMapper mapper)
 {
     _teachersService = teachersService;
     _mapper          = mapper;
 }
 public TeachersController(ITeachersService service)
 {
     this.service = service;
 }
 public TeachersController(ITeachersService teachersService, ILevelsService levelsService, IGroupsService groupsService, IStudentsService studentsService, IParentsService parentsService)
     : base(groupsService, teachersService, studentsService, parentsService)
 {
     this.levelsService = levelsService;
 }
Ejemplo n.º 32
0
 public TeachersController(ITeachersService teachersService)
 {
     this.teachersService = teachersService;
 }
Ejemplo n.º 33
0
 public HomeController(IClassesService classesService, ITeachersService teacherService)
 {
     _classesService = classesService;
     _teacherService = teacherService;
 }