Example #1
0
        public void Setup()
        {
            IKernel kernel = new StandardKernel();

            kernel.Load(Assembly.GetExecutingAssembly());
            ComplexityService = kernel.Get <IComplexityService>();
        }
Example #2
0
 public QuestionService(IQuestionRepository questionRepository,
                        ISubjectService subjectService,
                        IGradeService gradeService,
                        IComplexityService complexityService,
                        IDifficultyService diffficultyService,
                        IPassageService passageService)
 {
     QuestionRepository = questionRepository;
     SubjectService     = subjectService;
     GradeService       = gradeService;
     ComplexityService  = complexityService;
     DifficultyService  = diffficultyService;
     PassageService     = passageService;
 }
Example #3
0
 public ComplexitiesController(IComplexityService complexityService)
 {
     _complexityService = complexityService;
 }
Example #4
0
 public ComplexityController(IComplexityService service)
 {
     _service = service;
 }
Example #5
0
 public RecipesController(IRecipeService recipeService, ICategoryService categoryService, IComplexityService complexityService)
 {
     _recipeService     = recipeService;
     _categoryService   = categoryService;
     _complexityService = complexityService;
 }
Example #6
0
 public RecipeService(IRepositoryWrapper repoWrapper, ICategoryService categoryService, IComplexityService complexityService)
 {
     _repoWrapper       = repoWrapper;
     _categoryService   = categoryService;
     _complexityService = complexityService;
 }