public CandidatController() { candidateService = new UserService(); experienceService = new ExperienceService(); hobbiesService = new HobbiesService(); skillService = new SkillsService(); }
public ContestantsController( IHttpContextAccessor httpContext, UserManager <User> userManager, IBaseService baseService, ICipherService chipherService, INotificationService notifyService, IContestantsService contestantsService, ICategoriesService categoriesService, ISkillsService skillsService, ILocationService locationService, ILanguageService langService, IFavoritesService favoriteService) { _httpcontext = httpContext; _userManager = userManager; _baseService = baseService; _chipherService = chipherService; _notifyService = notifyService; _contestantsService = contestantsService; _categoriesService = categoriesService; _skillsService = skillsService; _locationService = locationService; _langService = langService; _favoriteService = favoriteService; }
public CoachesServiceTests() { DbContextOptionsBuilder <ApplicationDbContext> options = new DbContextOptionsBuilder <ApplicationDbContext>() .UseInMemoryDatabase(Guid.NewGuid().ToString()); AutoMapperConfig.RegisterMappings(typeof(DetailsCoachViewModel).Assembly); this.applicationDbContext = new ApplicationDbContext(options.Options); this.skillsRepository = new EfDeletableEntityRepository <Skill>(this.applicationDbContext); this.fightersRepository = new EfDeletableEntityRepository <Fighter>(this.applicationDbContext); this.coachesRepository = new EfDeletableEntityRepository <Coach>(this.applicationDbContext); this.skillsService = new SkillsService(this.skillsRepository, this.usersRepository); this.coachesService = new CoachesService(this.coachesRepository, this.fightersRepository, this.skillsService); foreach (var fighter in this.GetTestFighters()) { this.fightersRepository.AddAsync(fighter); this.fightersRepository.SaveChangesAsync(); } foreach (var coach in this.GetTestCoaches()) { this.coachesRepository.AddAsync(coach); this.coachesRepository.SaveChangesAsync(); } foreach (var skill in this.GetTestSkillPoints()) { this.skillsRepository.AddAsync(skill); this.skillsRepository.SaveChangesAsync(); } }
private void SetupServices() { var svcAutoMapper = new SvcAutoMapper(); _primaryStatsService = new PrimaryStatsService(_logger, _masterRepo, svcAutoMapper); _skillsService = new SkillsService(_logger, _masterRepo, svcAutoMapper, new SkillTotalCalculator(_primaryStatsService), _primaryStatsService); }
public JobsController( FeaturesDbContext context, UserManager <User> userManager, IBaseService baseService, IJobsService jobsService, ICategoriesService categoriesService, ILocationService locationService, ISkillsService skillsService, ILanguageService langService, ICompanyService companyService, IFavoritesService favoriteService, INotificationService notifyService, IToastNotification toastNotification, IResumeService resumeService) { _context = context; _userManager = userManager; _baseService = baseService; _jobsService = jobsService; _locationService = locationService; _skillsService = skillsService; _langService = langService; _categoriesService = categoriesService; _companyService = companyService; _favoriteService = favoriteService; _notifyService = notifyService; _toastNotification = toastNotification; _resumeService = resumeService; }
public JobOffersController( UserManager <ApplicationUser> userManager, IJobOffersService jobOffersService, IEmployersService employersService, IJobSectorsService jobSectorsService, IJobLevelsService jobLevelsService, IJobTypesService jobTypesService, ILanguagesService languagesService, ISkillsService skillsService) { this.userManager = userManager; this.jobOffersService = jobOffersService; this.employersService = employersService; this.jobSectorsService = jobSectorsService; this.jobLevelsService = jobLevelsService; this.jobTypesService = jobTypesService; this.languagesService = languagesService; this.skillsService = skillsService; this.jobSectors = this.jobSectorsService.GetAll <JobSectorsDropDownViewModel>(); this.jobLevels = this.jobLevelsService.GetAll <JobLevelsDropDownViewModel>(); this.jobTypes = this.jobTypesService.GetAll <JobTypesDropDownCheckboxListViewModel>().ToList(); this.languages = this.languagesService.GetAll <LanguagesDropDownCheckboxListViewModel>(); this.skills = this.skillsService.GetAll <SkillsDropDownCheckboxListViewModel>(); }
public void Setup() { _context = new SkillTrackerEntities(); unitOfWork = new UnitOfWork(_context); skillsRepository = new SkillsRepository(_context); skillsService = new SkillsService(unitOfWork, skillsRepository); }
public void DisposeAllObjects() { _context = null; unitOfWork = null; skillsRepository = null; skillsService = null; }
public void Setup() { _skillsService = A.Fake <ISkillsService>(); _autoMapper = A.Fake <IAutoMapper>(); _skillModel = new SkillModel(_skillsService, _autoMapper); }
public AdminResumeController(IResumepageService resumepageService, IHomepageService homepageService, IEducationService educationService, ISkillsService skillsService, IExperienceService experienceService) { _resumepageService = resumepageService; _homepageService = homepageService; _educationService = educationService; _experienceService = experienceService; _skillsService = skillsService; }
public SkillTableModel(ILogger logger, ISkillsService skillsService, IAutoMapper autoMapper) { _logger = logger; _skillsService = skillsService; _autoMapper = autoMapper; _skillsService.SkillsUpdated += SkillsServiceOnSkillsUpdated; }
public void Setup() { _logger = A.Fake <ILogger>(); _skillsService = A.Fake <ISkillsService>(); _autoMapper = A.Fake <IAutoMapper>(); _skillTableModel = new SkillTableModel(_logger, _skillsService, _autoMapper); }
public OpportunitiesService(IOpportunitiesRepository opportunitiesRepository, ILog log, ISkillsService skillsService, ISummaryService summaryService, IAccountsService accountsService) { _opportunitiesRepository = opportunitiesRepository; Log = log; _skillsService = skillsService; _summaryService = summaryService; _accountsService = accountsService; }
public void SetUp(BenchmarkContext context) { _context = new SkillTrackerEntities(); _unitOfWork = new UnitOfWork(_context); _skillsRepository = new SkillsRepository(_context); _skillsService = new SkillsService(_unitOfWork, _skillsRepository); _logManager = new LogManager(); }
public SkillController(ISkillLevelService levelService, ISkillTypeService typeService, ISkillTypeLevelService typeLevelService, IMapper mapper, ISkillsService skillsService) { this.levelService = levelService; this.typeService = typeService; this.typeLevelService = typeLevelService; this.mapper = mapper; this.skillsService = skillsService; }
public CoachesService( IDeletableEntityRepository <Coach> coachesRepository, IDeletableEntityRepository <Fighter> fightersRepository, ISkillsService skillsService) { this.coachesRepository = coachesRepository; this.fightersRepository = fightersRepository; this.skillsService = skillsService; }
public ProNet(IRankService rankService, ISkillsService skillsService, ISeparationService separationService, IRecommendationService recommendationService, ITeamStrengthService teamStrengthService, IStrongestTeamService strongestTeamService) { _rankService = rankService; _skillsService = skillsService; _separationService = separationService; _recommendationService = recommendationService; _teamStrengthService = teamStrengthService; _strongestTeamService = strongestTeamService; }
public CutmenService( IDeletableEntityRepository <Cutman> cutmenRepository, IDeletableEntityRepository <Fighter> fightersRepository, ISkillsService skillsService) { this.cutmenRepository = cutmenRepository; this.fightersRepository = fightersRepository; this.skillsService = skillsService; }
public HrController(IEmployeeService employeeService, ICourseService courseService, IPositionService positionService, IProjectService projectService, ISkillsService skillsService) { _employeeService = employeeService; _courseService = courseService; _positionService = positionService; _projectService = projectService; _skillsService = skillsService; _userManager = new UserManager <Employee>(new UserStore <Employee>(new HrisDbContext())); }
public JobOffersController( IJobOffersService jobOffers, IOrganizationsService organizations, ISkillsService skills) { this.jobOffers = jobOffers; this.organizations = organizations; this.skills = skills; }
public void Cleanup(BenchmarkContext context) { _context = null; _unitOfWork = null; _skillsRepository = null; _skillsService = null; _logManager = null; if (_response != null) { _response.Dispose(); } }
public void DisposeAllObjects() { _context = null; _unitOfWork = null; _skillsRepository = null; _skillsService = null; _logManager = null; if (_response != null) { _response.Dispose(); } }
public EmployeeSkillsPageViewModel(INavigationService navigationService, IEmployeesService employeesService, ISkillsService skillsService, IUserDialogs userDialogs) : base(navigationService) { _employeesService = employeesService ?? throw new ArgumentNullException(nameof(employeesService)); _userDialogs = userDialogs ?? throw new ArgumentNullException(nameof(userDialogs)); _skillsService = skillsService ?? throw new ArgumentNullException(nameof(skillsService)); OpenAddSkillActionSheetCommand = new DelegateCommand(OpenAddSkillActionSheet); DisplayEmployeeSkillActionSheetCommand = new DelegateCommand <Skill>(DisplayEmployeeSkillActionSheet); RefreshSkillsCommand = new DelegateCommand(RefreshSkills); _employeeSkills = new ObservableRangeCollection <Skill>(); Title = "Skills Management"; }
public void SetUp() { _separationService = Substitute.For <ISeparationService>(); _skillsService = Substitute.For <ISkillsService>(); _rankService = Substitute.For <IRankService>(); _teamStrengthService = new TeamStrengthService(_separationService, _skillsService, _rankService); _skill = ""; _team = new List <string> { "leader", "a", "b" }; }
public DeveloperProfilesService( IDbRepository<DeveloperProfile, string> developerProfiles, IGithubService githubService, ISkillsService skills, IJobOffersService jobOffers, IUsersService users) { this.developerProfiles = developerProfiles; this.githubService = githubService; this.skills = skills; this.jobOffers = jobOffers; this.users = users; }
public DashboardController( IApplicationUsersService usersService, UserManager <ApplicationUser> userManager, ICoursesService coursesService, ISkillsService skillsService, ICloudinaryService cloudinary) { this.usersService = usersService; this.userManager = userManager; this.coursesService = coursesService; this.skillsService = skillsService; this.cloudinary = cloudinary; }
public ProfileController( IProfileManager profileManager, IUserPersonalInfoHandler <ChangeEmail> changeEmailHandler, IUserPersonalInfoHandler <ChangeCountry> changeCountryHandler, IUserPersonalInfoHandler <ChangeCurrentPosition> changeCurrentPositionHandler, ISkillsService skillsService, IPositionsManager positionsManager) { this.profileManager = profileManager; this.changeEmailHandler = changeEmailHandler; this.changeCountryHandler = changeCountryHandler; this.changeCurrentPositionHandler = changeCurrentPositionHandler; this.skillsService = skillsService; this.positionsManager = positionsManager; }
public AdminModel(UserManager <User> userManager, INotificationService notifyService, ICategoriesService categoriesService, ILocationService locationService, ILanguageService langService, ISkillsService skillsService ) { _userManager = userManager; _notifyService = notifyService; _categoriesService = categoriesService; _locationService = locationService; _skillsService = skillsService; _langService = langService; }
public JobsController( UserManager <User> userManager, IJobsService jobsService, ICategoriesService categoriesService, ILocationService locationService, ISkillsService skillsService, ILanguageService langService) { _userManager = userManager; _jobsService = jobsService; _locationService = locationService; _skillsService = skillsService; _langService = langService; _categoriesService = categoriesService; }
public FightersService( IDeletableEntityRepository <Fighter> fightersRepository, IDeletableEntityRepository <Record> recordsRepository, IDeletableEntityRepository <Fight> fightsRepository, IDeletableEntityRepository <ApplicationUser> usersRepository, IBiographiesService biographiesService, ISkillsService skillService) { this.fightersRepository = fightersRepository; this.recordsRepository = recordsRepository; this.fightsRepository = fightsRepository; this.biographiesService = biographiesService; this.usersRepository = usersRepository; this.skillsService = skillService; }
public ContestantsController( UserManager <User> userManager, IContestantsService contestantsService, ICategoriesService categoriesService, ISkillsService skillsService, ILocationService locationService, ILanguageService langService) { _userManager = userManager; _contestantsService = contestantsService; _categoriesService = categoriesService; _skillsService = skillsService; _locationService = locationService; _langService = langService; }
public HomeController( IContactInformationService contactInformationService, IEducationsService educationService, ISkillsService skillsService, ICertificationsService certificationService, ICoursesService coursesService, IProjectsService projectsService, IExperiencesService experienceService) { this.contactInformationService = contactInformationService; this.educationService = educationService; this.skillsService = skillsService; this.certificationService = certificationService; this.coursesService = coursesService; this.projectsService = projectsService; this.experienceService = experienceService; }
public SkillsController(ISkillsService SkillsService) { _skillsService = SkillsService; }
public SkillsController(ISkillsService skills) { this.skills = skills; }
public SkillsController(ISkillsService skillsService, INinjaService ninjaService) { this.skillsService = skillsService; this.ninjaService = ninjaService; }