public StudentController(IAuthenticatonService authenticatonService,
                          IStudentService studentService,
                          ICourseOfStudyService courseOfStudyService,
                          IGroupService groupService) : base(authenticatonService)
 {
     _studentService       = studentService;
     _courseOfStudyService = courseOfStudyService;
     _groupService         = groupService;
 }
Пример #2
0
 public MessageController(IAuthenticatonService authenticatonService, IMessageService messageService) : base(authenticatonService)
 {
     _messageService = messageService;
 }
 protected BaseController(IAuthenticatonService authenticatonService)
 {
     AuthenticatonService = authenticatonService;
 }
Пример #4
0
 public TutorController(IAuthenticatonService authenticatonService, ITutorService tutorService) : base(authenticatonService)
 {
     _tutorService = tutorService;
 }
Пример #5
0
 public ProfileController(IAuthenticatonService authenticatonService, IProfileService profileService) : base(authenticatonService)
 {
     _profileService = profileService;
 }
Пример #6
0
 public AnnouncementController(IAuthenticatonService authenticatonService, IAnnouncementService announcementService) : base(authenticatonService)
 {
     _announcementService = announcementService;
 }
Пример #7
0
 private void InitializeFields()
 {
     _mockStudentExchangeDataContext = new Mock <IStudentExchangeDataContext>();
     _authenticatonService           = new AuthenticationService(_mockStudentExchangeDataContext.Object);
 }
 public UniversityController(IAuthenticatonService authenticatonService, IUniversityService universityService) : base(authenticatonService)
 {
     _universityService = universityService;
 }
 public CourseOfStudyController(IAuthenticatonService authenticatonService, ICourseOfStudyService courseOfStudyService) : base(authenticatonService)
 {
     _courseOfStudyService = courseOfStudyService;
 }
Пример #10
0
 public FacultyController(IAuthenticatonService authenticatonService, IFacultyService facultyService) : base(authenticatonService)
 {
     _facultyService = facultyService;
 }
Пример #11
0
 public GroupController(IAuthenticatonService authenticatonService, IGroupService groupService) : base(authenticatonService)
 {
     _groupService = groupService;
 }