public LmsUserManager(ILmsUserRepository lmsUserRepository, IGradeLevelRepository gradeLevelRepository, ICourseRepository courseRepository) { _lmsUserRepository = lmsUserRepository; _gradeLevelRepository = gradeLevelRepository; _courseRepository = courseRepository; }
// Constructor Injection public CourseAppService(ICourseRepository rep) { if (rep == null) throw new ArgumentNullException("rep"); _rep = rep; }
public CourseController(ICourseRepository courseRepository, IDepartmentRepository departmentRepository, IMapper mapper) { _courseRepository = courseRepository; _departmentRepository = departmentRepository; _mapper = mapper; }
/// <summary> /// Initializes a new instance of the <see cref="CourseService" /> class. /// </summary> /// <param name="courseRepository">The course repository.</param> /// <param name="courseOfferingRepository"></param> /// <param name="studentRepository"></param> public CourseService(ICourseRepository courseRepository, ICourseOfferingRepository courseOfferingRepository, IStudentRepository studentRepository) { _courseRepository = courseRepository; _courseOfferingRepository = courseOfferingRepository; _studentRepository = studentRepository; }
public CurriculaController(ICurriculumRepository CurriculaRepo, ICourseRepository CourseRepo) { this.CurriculaRepo = CurriculaRepo; this.CourseRepo = CourseRepo; CurriculaRepo.SetContext(db); }
public InstructorController(IInstructorRepository instructorRepository, ICourseRepository courseRepository, IDepartmentRepository departmentRepository, IMapper mapper) { _instructorRepository = instructorRepository; _courseRepository = courseRepository; _departmentRepository = departmentRepository; _mapper = mapper; }
public CourseManangementServices(ICourseRepository courseRepository, ILogger logger) { if (courseRepository == null) throw new ArgumentNullException("courseRepository"); if (logger == null) throw new ArgumentNullException("logger"); this._courseRepository = courseRepository; this._logger = logger; }
public HomeworkController(IHomeworkRepository homeworkRepository, IAcademicYearDetailsRepository academicYearDetailRepository, ICourseRepository courseRepository, ITeacherRepository teacherRepository) { _homeworkRepository = homeworkRepository; _viewMessageLogic = new ViewMessageLogic(this); _courseRepository = courseRepository; _academicYearDetailRepository = academicYearDetailRepository; _teacherRepository = teacherRepository; }
public GameController( IGameRepository gameRepository, ICourseRepository courseRepository, IUserRepository userRepository) { this.gameRepository = gameRepository; this.courseRepository = courseRepository; this.userRepository = userRepository; }
public CourseController(ICourseRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.To<long>(); this._UserId = view.UserId.To<int>(); this._OfficeId = view.OfficeId.To<int>(); this._Catalog = catalog; this.CourseRepository = repository; }
public AcademicYearDetailsController(IAcademicYearDetailsRepository academicYearDetailsRepository, ICourseRepository courseRepository, ITeacherRepository teacherRepository, IAcademicYearRepository academicYearRepository) { _academicYearDetailsRepository = academicYearDetailsRepository; _courseRepository = courseRepository; _teacherRepository = teacherRepository; _academicYearRepository = academicYearRepository; _viewMessageLogic = new ViewMessageLogic(this); }
public CourseController(IGenericRepository genericRepository, IMapper<Course, IndexModel> courseToIndexModelMapper, IMapper<CreateModel, Course> createModelToCourseMapper, IMapper<ParentCourse, ParentCourseListItemModel> parentCourseToParentCourseListItemModelMapper, ICourseRepository courseRepository) { _genericRepository = genericRepository; _courseToIndexModelMapper = courseToIndexModelMapper; _createModelToCourseMapper = createModelToCourseMapper; _parentCourseToParentCourseListItemModelMapper = parentCourseToParentCourseListItemModelMapper; _courseRepository = courseRepository; }
public QuizService(IModelFactory modelFactory, IQuizRepository quizRepository, IQuizQuestionRepository quizQuestionRepository, IQuestionRepository questionRepository, ICourseRepository courseRepository, IQuizPagesRepository quizPagesRepository) { _modelFactory = modelFactory; _quizRepository = quizRepository; _quizQuestionRepository = quizQuestionRepository; _questionRepository = questionRepository; _courseRepository = courseRepository; _quizPagesRepository = quizPagesRepository; }
public CourseController(ICourseRepository courseRepository, IEducationLevelRepository areaRepository, IPensumRepository pensumRepository) { if (courseRepository == null) throw new ArgumentNullException("courseRepository"); if (areaRepository == null) throw new ArgumentNullException("areaRepository"); _courseRepository = courseRepository; _areaRepository = areaRepository; _pensumRepository = pensumRepository; _viewMessageLogic = new ViewMessageLogic(this); }
public FatecService( ICourseRepository cursoRepository, IFatecRepository fatecRepository, ICacheManager cacheStrategy, IDisciplineService disciplineService) { _courseRepository = cursoRepository; _fatecRepository = fatecRepository; _cacheManager = cacheStrategy; _disciplineService = disciplineService; }
public CourseController() { this._LoginId = AppUsers.GetCurrent().View.LoginId.To<long>(); this._UserId = AppUsers.GetCurrent().View.UserId.To<int>(); this._OfficeId = AppUsers.GetCurrent().View.OfficeId.To<int>(); this._Catalog = AppUsers.GetCatalog(); this.CourseRepository = new Extems.Academic.DataAccess.Course { _Catalog = this._Catalog, _LoginId = this._LoginId, _UserId = this._UserId }; }
public HomeworkController(IHomeworkRepository homeworkRepository, IAcademicYearDetailsRepository academicYearDetailRepository, IAcademicYearRepository academicYearRepository, IGradeRepository gradeRepository, ICourseRepository courseRepository, IStudentRepository studentRepository, IEnrollRepository enrollsRepository, ISessionManagementRepository sessionManagementRepository, ISecurityRepository securityRepository, IParentRepository parentRepository) { _homeworkRepository = homeworkRepository; _academicYearRepository = academicYearRepository; _gradeRepository = gradeRepository; _courseRepository = courseRepository; _academicYearDetailRepository = academicYearDetailRepository; StudentRepository = studentRepository; EnrollsRepository = enrollsRepository; _sessionManagementRepository = sessionManagementRepository; SecurityRepository = securityRepository; _parentRepository = parentRepository; }
public CourseDomain(IDatabaseUnitOfWork databaseUnitOfWork, IStudentRepository studentRepository, ICourseRepository courseRepository, ILecturerRepository lecturerRepository) { DatabaseUnitOfWork = databaseUnitOfWork; StudentRepository = studentRepository; CourseRepository = courseRepository; LecturerRepository = lecturerRepository; }
public void CourseRepositoryTest() { cRep = new CourseRepository(dbContext.Object); Assert.IsNotNull(cRep); }
public CourseService(ICourseRepository courseRepository) { _courseRepository = courseRepository; }
public CoursesController() { this.courseRepository = new CourseRepository(); }
public ModuleProvider(ICourseRepository courseRepo, IModuleRepository moduleRepo) { _courseRepo = courseRepo; _moduleRepo = moduleRepo; }
private CourseService CreateCourseService(ICourseRepository courseRepository) { return(new CourseService(courseRepository)); }
public CourseService(ICourseRepository courseRepository) { _courseRepository = courseRepository ?? throw new ArgumentNullException(nameof(courseRepository)); }
public CustomCoursesController(ICourseRepository repository) { _repository = repository; }
public CourseService() { courseRepository = new CourseRepository(new ContosoDbContext()); }
public CourseCreator(ICourseRepository repository, IEventBus eventBus) { _repository = repository; _eventBus = eventBus; }
public CourseController(ICourseRepository repository) { _repository = repository; }
public CourseController(ICourseRepository courseService) { _courseService = courseService; }
public ObjectiveStudentController(IExScoreRepository iExScoreRepository, IStudentsRepository iStudentsRepository, IExamRepository iExamRepository, ICourseRepository iCourseRepository, IClazzRepository iClazzRepository, IGradeRepository iGradeRepository, ICCTRepository iCCTRepository, ITeacherRepository iTeacherRepository, IExamDetailRepository iExamDetailRepository, IExamDetailScoreRepository iExamDetailScoreRepository) { this._iExScoreRepository = iExScoreRepository; this._iStudentsRepository = iStudentsRepository; this._iExamRepository = iExamRepository; this._iCourseRepository = iCourseRepository; this._iClazzRepository = iClazzRepository; this._iGradeRepository = iGradeRepository; this._iCCTRepository = iCCTRepository; this._iTeacherRepository = iTeacherRepository; this._iExamDetailRepository = iExamDetailRepository; this._iExamDetailScoreRepository = iExamDetailScoreRepository; }
public CourseController(ICourseRepository courseRepository, ICategoryCourseRepository categoryCourseRepository) { this.courseRepository = courseRepository; this.categoryCourseRepository = categoryCourseRepository; }
public CourseQueries(ICourseRepository courseRepository) { _courseRepository = courseRepository; }
public CourseController(ICourseRepository repo) =>
public WithdrawUserCommandHandler(IUserRepository userRepository, ICourseRepository courseRepository) { UserRepository = userRepository; CourseRepository = courseRepository; }
public CourseCommandHandler(ICourseRepository courseRepository) { this._courseRepository = courseRepository; }
public CourseControllerTests(TestingWebAppFactory <Startup> factory) { _client = factory.CreateClient(); _courseRepository = factory.Resolve <ICourseRepository>(); }
public CourseController(ICourseRepository courseRepository, ICategoryRepository categoryRepository) { this.courseRepository = courseRepository; this.categoryRepository = categoryRepository; }
public IndexModel(ICourseRepository CourseRepository, IMapper Mapper) { this.CourseRepository = CourseRepository; this.mapper = Mapper; this.Model = new CourseIndexVm(); }
public EnrollStudentCommandHandler(IUnitOfWork unitOfWork) { this.unitOfWork = unitOfWork; studentRepository = unitOfWork.StudentRepository; courseRepository = unitOfWork.CourseRepository; }
public CourseController(ICourseRepository courseRepo, IAccountRepository accountRepo, ApplicationDbContext context) { _courseRepo = courseRepo; _accountRepo = accountRepo; _context = context; }
public CourseFacadeTest() { _courseRepository = Substitute.For<ICourseRepository>(); _courseFacade = new CourseFacade(_courseRepository); }
public CourseServices(ICourseRepository courseRepository) { _courseRepository = courseRepository; }
public CoursesController(ICourseRepository repository) { this.courseRepository = repository; }
public CoursesController(ICourseRepository courseRepository, IMapper mapper) { _courseRepository = courseRepository ?? throw new ArgumentNullException(nameof(courseRepository)); _mapper = mapper; }
public HomeController(ICourseRepository Repository) { if (Repository == null) throw new ArgumentNullException("Repository", "No valid UserRepository supplied to FollowersController"); _repository = Repository; }
public ExScoreController(IExScoreRepository iExScoreRepository, IStudentsRepository iStudentsRepository, IExamRepository iExamRepository, ICourseRepository iCourseRepository, IClazzRepository iClazzRepository, IGradeRepository iGradeRepository, IUser iUser) { this._iExScoreRepository = iExScoreRepository; this._iStudentsRepository = iStudentsRepository; this._iExamRepository = iExamRepository; this._iCourseRepository = iCourseRepository; this._iClazzRepository = iClazzRepository; this._iGradeRepository = iGradeRepository; GID = (iUser.GetClaimValueByType("GID").FirstOrDefault()).ObjToInt(); }
public EducationLevelController(IEducationLevelRepository areaReposity, ICourseRepository courseRepository) { _areaReposity = areaReposity; _courseRepository = courseRepository; _viewMessageLogic = new ViewMessageLogic(this); }
//--------------------------------------------------------------------------------------------------- static ClubRelationships() { s_event_repository = new EventRepository(); s_club_repository = new ClubRepository(); s_course_repository = new CourseRepository(); }
public CourseController() { this.courseRepository = new CourseRepository(); this.categoryCourseRepository = new CategoryCourseRepository(); }
public CreateModel(IMapper Mapper, IFileHandler FileHandler, IHostingEnvironment HostingEnvironment, ICourseRepository CourseRepository) { this.mapper = Mapper; this.fileHandler = FileHandler; this.hostingEnvironment = HostingEnvironment; this.courseRepository = CourseRepository; }
public CourseController(ICourseRepository _courseRepository) { this._courseRepository = _courseRepository; }
public CoursesController(ICourseRepository _db) { db = _db; _log4net = log4net.LogManager.GetLogger(typeof(CoursesController)); }
public ObjectiveController(IExScoreRepository iExScoreRepository, IStudentsRepository iStudentsRepository, IExamRepository iExamRepository, ICourseRepository iCourseRepository, IClazzRepository iClazzRepository, IGradeRepository iGradeRepository, IUser iUser, ICCTRepository iCCTRepository, ITeacherRepository iTeacherRepository, IExamDetailRepository iExamDetailRepository, IExamDetailScoreRepository iExamDetailScoreRepository) { this._iExScoreRepository = iExScoreRepository; this._iStudentsRepository = iStudentsRepository; this._iExamRepository = iExamRepository; this._iCourseRepository = iCourseRepository; this._iClazzRepository = iClazzRepository; this._iGradeRepository = iGradeRepository; this._iCCTRepository = iCCTRepository; this._iTeacherRepository = iTeacherRepository; this._iExamDetailRepository = iExamDetailRepository; this._iExamDetailScoreRepository = iExamDetailScoreRepository; GID = (iUser.GetClaimValueByType("GID").FirstOrDefault()).ObjToInt(); }
public CourseServices(ICourseRepository courseRepository, IUserRepository userRepository, IComponentRepository componentRepository) { _courseRepository = courseRepository; _userRepository = userRepository; _componentRepository = componentRepository; }
public CourseService(ICourseRepository repository, IMapper mapper) { _repository = repository; _mapper = mapper; }
public CourseService(ICourseRepository courseRepository) { this._courseRepository = courseRepository; }
static EventController() { s_repository = new EventRepository(); s_course_repository = new CourseRepository(); }
public SchoolUnitOfWork(SchoolContext context, IPersonRepository personRepository, ICourseRepository courseRepository) { this.context = context; this.PersonRepository = personRepository; this.CourseRepository = courseRepository; }
/// <summary> /// /// </summary> /// <param name="iCourseRepository"></param> public CourseController(ICourseRepository iCourseRepository) { this._iCourseRepository = iCourseRepository; }
public Handler(IUnitOfWork unitOfWork, IRepository <Instructor> instructorRepository, ICourseRepository courseRepository, INotificationService notificationService, IOptionsMonitor <EnvironmentOptions> environmentOptions) { _unitOfWork = unitOfWork; _instructorRepository = instructorRepository; _courseRepository = courseRepository; _notificationService = notificationService; _environmentOptions = environmentOptions; }