public DifficultiesController( IDifficultiesService difficultiesServ, IAppsService appsServ) { difficultiesService = difficultiesServ; appsService = appsServ; }
public SeedController( UserManager <XamplyUser> userManager, RoleManager <XamplyRole> roleManager, ICategoriesService categoriesService, IDifficultiesService difficultiesService) { this.userManager = userManager; this.roleManager = roleManager; this.categoriesService = categoriesService; this.difficultiesService = difficultiesService; }
public async Task Setup() { context = await TestDatabase.GetDatabaseContext(); MockDifficultiesRepository = new MockDifficultiesRepository(context); sut = new DifficultiesService( MockDifficultiesRepository.DifficultiesRepositorySuccessfulRequest.Object); sutCreateDifficulty = new DifficultiesService( MockDifficultiesRepository.DifficultiesRepositoryCreateDifficultyRequest.Object); license = TestObjects.GetLicense(); paginator = TestObjects.GetPaginator(); }
public ExamsController( ICategoriesService categoriesService, IDifficultiesService difficultiesService, IHttpClientAsync httpClient, IExamsService examsService, IRankingsService rankingsService) { this.categoriesService = categoriesService; this.difficultiesService = difficultiesService; this.httpClient = httpClient; this.examsService = examsService; this.rankingsService = rankingsService; }