public StudentController(IAuthenticatonService authenticatonService, IStudentService studentService, ICourseOfStudyService courseOfStudyService, IGroupService groupService) : base(authenticatonService) { _studentService = studentService; _courseOfStudyService = courseOfStudyService; _groupService = groupService; }
public MessageController(IAuthenticatonService authenticatonService, IMessageService messageService) : base(authenticatonService) { _messageService = messageService; }
protected BaseController(IAuthenticatonService authenticatonService) { AuthenticatonService = authenticatonService; }
public TutorController(IAuthenticatonService authenticatonService, ITutorService tutorService) : base(authenticatonService) { _tutorService = tutorService; }
public ProfileController(IAuthenticatonService authenticatonService, IProfileService profileService) : base(authenticatonService) { _profileService = profileService; }
public AnnouncementController(IAuthenticatonService authenticatonService, IAnnouncementService announcementService) : base(authenticatonService) { _announcementService = announcementService; }
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; }
public FacultyController(IAuthenticatonService authenticatonService, IFacultyService facultyService) : base(authenticatonService) { _facultyService = facultyService; }
public GroupController(IAuthenticatonService authenticatonService, IGroupService groupService) : base(authenticatonService) { _groupService = groupService; }