Beispiel #1
0
 public ManageLecturers()
 {
     InitializeComponent();
     executedFirstTime = true;
     lecturerService   = new LecturerService();
     populateData();
 }
Beispiel #2
0
        public Lessons()
        {
            InitializeComponent();

            _lessonService     = InstanceFactory.GetInstance <ILessonService>();
            _departmentService = InstanceFactory.GetInstance <IDepartmentService>();
            _lecturerService   = InstanceFactory.GetInstance <ILecturerService>();
        }
Beispiel #3
0
 public Lecturers()
 {
     InitializeComponent();
     _lecturerService   = InstanceFactory.GetInstance <ILecturerService>();
     _departmentService = InstanceFactory.GetInstance <IDepartmentService>();
     cbxAddLecturerDepartment.DataSource    = _departmentService.GetDepartmentNames();
     cbxUpdateLecturerDepartment.DataSource = _departmentService.GetDepartmentNames();
     LoadLecturers();
 }
Beispiel #4
0
 public ManageController(IStudentService std, ILecturerService lec, ICourseService cor,
                         IProgressService prog, IDepartmentService dep)
 {
     studentService    = std;
     lecturerService   = lec;
     courseService     = cor;
     progressService   = prog;
     departmentService = dep;
 }
Beispiel #5
0
 public ManageController(ApplicationUserManager userManager, ApplicationSignInManager signInManager, IStudentService std,
                         ILecturerService lec, ICourseService cor, IProgressService prog, IDepartmentService dep)
 {
     UserManager       = userManager;
     SignInManager     = signInManager;
     studentService    = std;
     courseService     = cor;
     progressService   = prog;
     departmentService = dep;
 }
Beispiel #6
0
        public LecturerStudentManagementViewModel(IAuthService authService, ILecturerService lecturerService, IUsersService usersService, IAssignmentsService assignmentsService, IResultsService resultsService)
        {
            _authService        = authService;
            _lecturerService    = lecturerService;
            _usersService       = usersService;
            _assignmentsService = assignmentsService;
            _resultsService     = resultsService;

            selectedLecturer = _authService.authorisedUser;
        }
Beispiel #7
0
        public LecturerSampleDataController(IOptions <AppGlobalSettings> appGlobalSettings)
        {
            AppGlobalSettings = appGlobalSettings.Value;
            DataConnectionSettingsPathFile = AppGlobalSettings.DataConnectionSettingsPathFile;

            var dataConnectionSettings = JsonConvert.DeserializeObject <DataConnectionSettings>(System.IO.File.ReadAllText(DataConnectionSettingsPathFile));

            DependencyInjector.UpdateInterfaceModeDependencies(dataConnectionSettings);

            LecturerService = DependencyInjector.Resolve <ILecturerService>();
        }
        public AddLectuerViewModel(ICourseServices courseServices, ILecturerService lecturserService)
        {
            _courseServices   = courseServices;
            _lecturserService = lecturserService;

            AddLectuer   = new RelayCommand(AddLecturerComplete, CanSubmitStudent);
            AddCourse    = new RelayCommand(AddCourseToList, CanAddToCourse);
            ItemSelected = new RelayCommand(ItemRemovedOrSelect, CanDelete);

            UpdateCourse();
        }
Beispiel #9
0
 public StatisticsDataServices(IAccountService accountService,
                               IStudentService studentService, ICourseServices courseServices,
                               ILecturerService lecturerServices, IRegistrationService registrationService,
                               IAttendanceService attendanceService)
 {
     _accountService      = accountService;
     _studentService      = studentService;
     _courseServices      = courseServices;
     _lecturerServices    = lecturerServices;
     _registrationService = registrationService;
     _attendanceService   = attendanceService;
 }
        public ViewAttendanceViewModel(ILecturerService lecturerService,
                                       IAuthenticator authenticator,
                                       IAttendanceService attendanceService)
        {
            _lecturerService   = lecturerService;
            _authenticator     = authenticator;
            _attendanceService = attendanceService;

            PrintAttendance = new RelayACommand(AttendancePrint);

            LoadAttendance();
        }
Beispiel #11
0
        public LecturerStudentAnalyticsViewModel(IAuthService authService, ILecturerService lecturerService)
        {
            _authService     = authService;
            _lecturerService = lecturerService;

            selectedLecturer = _authService.authorisedUser;

            NoOfGraduatedStudents = selectedLecturer.Course == null ?
                                    0 :
                                    _lecturerService.GetGraduatedStudents(selectedLecturer.Course);

            LecturerResults = _lecturerService.GetLecturerResults(selectedLecturer);
        }
Beispiel #12
0
 public officeController(ICollegeService _collegeService, IDepartmentService _depertmentService,
                         IStudentService _studentService, ICourseService _courseService,
                         ILecturerService _lecturerService, IReplyService _replyService,
                         ICommentService _commentService, IStudyService _studyService)
 {
     this._collegeService    = _collegeService;
     this._departmentService = _depertmentService;
     this._studentService    = _studentService;
     this._courseService     = _courseService;
     this._lecturerService   = _lecturerService;
     this._replyService      = _replyService;
     this._commentService    = _commentService;
     this._studyService      = _studyService;
 }
Beispiel #13
0
 public JournalService(ICrudRepository <JournalRecord> repository,
                       IMessageSenderFactory senderFactory,
                       ICourseService courseService,
                       ILectureService lectureService,
                       IStudentService studentService,
                       ILecturerService lecturerService,
                       ILogger <JournalService> logger)
 {
     _repository      = repository;
     _senderFactory   = senderFactory;
     _courseService   = courseService;
     _lectureService  = lectureService;
     _studentService  = studentService;
     _lecturerService = lecturerService;
     _logger          = logger;
 }
Beispiel #14
0
 public LecturerController(ILecturerService lecturerService, IDataContext context) : base(context)
 {
     this.lecturerService = lecturerService;
 }
 public LecturerController(ILecturerService lecturerService, ILogger <LecturerController> logger, IMapper mapper)
 {
     _service = lecturerService;
     _logger  = logger;
     _mapper  = mapper;
 }
Beispiel #16
0
 public LecturersController(ILecturerService lecturerService, AppDbContext context)
 {
     _lecturerService = lecturerService;
     _context         = context;
 }
 public LecturersController(ILecturerService service)
 {
     _service = service;
 }
Beispiel #18
0
 public TestController(ILecturerService lecturerService, IStudentService studentService)
 {
     _lecturerService = lecturerService;
     _studentService  = studentService;
 }
Beispiel #19
0
 public LecturerController(ILecturerService lecturerService, ILogger <LecturerController> logger)
 {
     _lecturerService = lecturerService;
     _logger          = logger;
 }
Beispiel #20
0
 public LecturerController(ILecturerService LecturerService)
 {
     this.LecturerService = LecturerService;
 }
 public HomeController(ICourseService serv, ILecturerService lect, ITopicService top)
 {
     courseService   = serv;
     lecturerService = lect;
     topicService    = top;
 }
Beispiel #22
0
 public TeacherController(ILecturerService lecturerService, IDataContext context)
 {
     this.context         = context;
     this.lecturerService = lecturerService;
 }
 public TestControllerTest()
 {
     _lecturerService = new LecturerServiceFake();
     _testController  = new TestController(_lecturerService, null);
 }
Beispiel #24
0
 public LecturerController(ILecturerService LecturerService, IImageInfoService imageInfoService)
 {
     _LecturerService  = LecturerService;
     _imageInfoService = imageInfoService;
 }
Beispiel #25
0
 public LecturerController(ILecturerService lecturerService)
 {
     _lecturerService = lecturerService;
 }
Beispiel #26
0
 public LecturerController(ChamaContext chamaContext, ILecturerService lecturerService)
 {
     _chamaContext    = chamaContext;
     _lecturerService = lecturerService;
 }
 public LecturersViewModel(ILecturerService lecturserService)
 {
     this.lecturserService = lecturserService;
     RemoveItem            = new RelayACommand(RemoveSelectedItem);
     LoadLecturer();
 }
 public LecturersController(ILecturerService lecturerService)
 {
     this.lecturerService = lecturerService;
 }
Beispiel #29
0
 public OperationController(ILecturerService LecturerService)
 {
     this.LecturerService = LecturerService;
 }
 public LecturerController(ILecturerService lecturerService, IAccountService accountService) : base(accountService) => _lecturerService = lecturerService;