//
 // Summary:
 //     /// Method responsible for initializing the controller. ///
 //
 // Parameters:
 //   logger:
 //     The logger param.
 //
 //   mapper:
 //     The mapper param.
 //
 //   interviewRepository:
 //     The interviewRepository param.
 //
 //   interviewService:
 //     The interviewService param.
 //
 public InterviewsController(ILogger <InterviewsController> logger, IMapper mapper, IInterviewRepository interviewRepository, IInterviewService interviewService)
 {
     _logger = logger;
     _mapper = mapper;
     _interviewRepository = interviewRepository;
     _interviewService    = interviewService;
 }
Esempio n. 2
0
 public InterviewsController(
     IInterviewService interviewService,
     UserManager <User> userManager)
 {
     this.interviewService = interviewService;
     this.userManager      = userManager;
 }
Esempio n. 3
0
 public InvokeActivityHandler(
     PositionsTemplate positionsTemplate,
     CandidatesTemplate candidatesTemplate,
     NewJobPostingToAdaptiveCardTemplate newJobPostingToAdaptiveCardTemplate,
     ICandidateService candidateService,
     IInterviewService interviewService,
     IPositionService positionService,
     IRecruiterService recruiterService,
     ILocationService locationService,
     IOptions <AppSettings> appSettings,
     IHttpClientFactory clientFactory,
     IMapper mapper)
 {
     _appSettings = appSettings.Value;
     _newJobPostingToAdaptiveCardTemplate = newJobPostingToAdaptiveCardTemplate;
     _positionsTemplate  = positionsTemplate;
     _candidatesTemplate = candidatesTemplate;
     _candidateService   = candidateService;
     _positionService    = positionService;
     _interviewService   = interviewService;
     _recruiterService   = recruiterService;
     _locationService    = locationService;
     _clientFactory      = clientFactory;
     _mapper             = mapper;
 }
 /// <inheritdoc />
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="factory"></param>
 public InterviewController(IChatBotDataFactory factory)
 {
     _httpClient       = factory.GetHttpClient();
     _interviewService = factory.GetInterviewService();
     _userService      = factory.GetUserService();
     _mapper           = factory.GetMapperService();
 }
 public ClientDashboardViewModel(IDashboardService dashboardService, IDialogService dialogService, IInterviewService interviewService, ISettings settings, ILookupService lookupService)
 {
     _dashboardService = dashboardService;
     _dialogService    = dialogService;
     _interviewService = interviewService;
     _settings         = settings;
     _lookupService    = lookupService;
 }
 public InterviewController(IInterviewService interviewService, ISalesPersonService salesPersonService, ICompanyService companyService, IInterviewerService interviewerService, IInterviewFairService interviewFairService, IFairService fairService)
 {
     _interviewService     = interviewService;
     _salesPersonService   = salesPersonService;
     _companyService       = companyService;
     _interviewerService   = interviewerService;
     _interviewFairService = interviewFairService;
     _fairService          = fairService;
 }
Esempio n. 7
0
 /// <summary>
 /// Controller that sets position service in order to access context resources
 /// </summary>
 /// <param name="positionService">Parameter for setting position service</param>
 /// <param name="agentService">Parameter for setting agent service</param>
 /// <param name="candidateService">Parameter for setting candidate service</param>
 /// <param name="interviewService">Parameter for setting interview service</param>
 /// <param name="positionArchiveService">Parameter for setting position archive service</param>
 /// <param name="candidateArchiveService">Parameter for setting candidate archive service</param>
 public PositionController(IPositionService positionService, IAgentService agentService, ICandidateService candidateService, IInterviewService interviewService, IPositionArchiveService positionArchiveService, ICandidateArchiveService candidateArchiveService)
 {
     this.PositionService         = positionService;
     this.AgentService            = agentService;
     this.CandidateService        = candidateService;
     this.InterviewService        = interviewService;
     this.PositionArchiveService  = positionArchiveService;
     this.CandidateArchiveService = candidateArchiveService;
 }
Esempio n. 8
0
 public EncounterViewModel()
 {
     Title             = "ENCOUNTERS";
     _dialogService    = Mvx.Resolve <IDialogService>();
     _dashboardService = Mvx.Resolve <IDashboardService>();
     _interviewService = Mvx.Resolve <IInterviewService>();
     _lookupService    = Mvx.Resolve <ILookupService>();
     _settings         = Mvx.Resolve <ISettings>();
 }
Esempio n. 9
0
        public InterviewController(IEventService eventService, IInterviewService interviewService,
                                   IUnitOfWork unitOfWork, INotificationService notificationService)
        {
            this.interviewService = interviewService;

            this.eventService = eventService;

            this.notificationService = notificationService;

            this.unitOfWork = unitOfWork;
        }
Esempio n. 10
0
        //
        // Summary:
        //     /// Method responsible for initializing the schema. ///
        //
        // Parameters:
        //   interviewService:
        //     The interviewService param.
        //
        public InterviewMutationType(IInterviewService interviewService)
        {
            Name        = "InterviewMutation";
            Description = "Interview Mutation Type";

            FieldAsync <InterviewType>(
                name: "createInterview",
                arguments: new QueryArguments(
                    new QueryArgument <NonNullGraphType <InterviewInputType> > {
                Name = "data"
            }
                    ),
                resolve: async context =>
            {
                InterviewCommand data = context.GetArgument <InterviewCommand>("data");

                Interview result = await interviewService.AddAsync(data);

                if (interviewService.ValidationResult().IsValid is true)
                {
                    return(result);
                }

                context.Errors.AddRange(interviewService.ValidationResult().Errors.Select(x => new ExecutionError(x.ErrorMessage)));

                return(null);
            }
                );

            FieldAsync <BooleanGraphType>(
                name: "removeInterview",
                arguments: new QueryArguments(
                    new QueryArgument <NonNullGraphType <IdGraphType> > {
                Name = "id"
            }
                    ),
                resolve: async context =>
            {
                Guid id = context.GetArgument <Guid>("id");

                await interviewService.RemoveAsync(id);

                if (interviewService.ValidationResult().IsValid is true)
                {
                    return(true);
                }

                context.Errors.AddRange(interviewService.ValidationResult().Errors.Select(x => new ExecutionError(x.ErrorMessage)));

                return(null);
            }
                );
        }
Esempio n. 11
0
 public MessagingExtensionActionsService(ITemplateService templateService,
                                         ICandidateService candidateService,
                                         IInterviewService interviewService,
                                         IPositionService positionService,
                                         IMapper mapper)
 {
     _templateService  = templateService;
     _candidateService = candidateService;
     _interviewService = interviewService;
     _positionService  = positionService;
     _mapper           = mapper;
 }
Esempio n. 12
0
 public RatingService(
     IRatingRepository ratingRepository,
     IVacancyService vacancyService,
     IInterviewService interviewService,
     IApplicantService applicantService,
     IMapper mapper)
 {
     _ratingRepository = ratingRepository;
     _vacancyService   = vacancyService;
     _interviewService = interviewService;
     _applicantService = applicantService;
     _mapper           = mapper;
 }
 public BotService(IPositionService positionService,
                   ICandidateService candidateService,
                   IRecruiterService recruiterService,
                   IInterviewService interviewService,
                   ITemplateService templateService,
                   IMapper mapper)
 {
     _positionService  = positionService;
     _candidateService = candidateService;
     _interviewService = interviewService;
     _templateService  = templateService;
     _recruiterService = recruiterService;
     _mapper           = mapper;
 }
Esempio n. 14
0
 public InterviewController(
     IUserService iUserService,
     IResumeService iResumeService,
     ICompanyService iCompanyService,
     IPostService iPostService,
     IInterviewService iInterviewService,
     IMapper iMapper)
 {
     _iCompanyService   = iCompanyService;
     _iPostService      = iPostService;
     _iInterviewService = iInterviewService;
     _iUserService      = iUserService;
     _iResumeService    = iResumeService;
     _iMapper           = iMapper;
 }
Esempio n. 15
0
 public BotService(
     IOptions <AppSettings> appSettings,
     IHttpClientFactory httpClientFactory,
     IRecruiterService recruiterService,
     IPositionService positionService,
     ICandidateService candidateService,
     IInterviewService interviewService,
     ILocationService locationService,
     CandidatesTemplate candidatesTemplate,
     PositionsTemplate positionsTemplate,
     NewJobPostingToAdaptiveCardTemplate newJobPostingTemplate)
 {
     _appSettings           = appSettings.Value;
     _httpClientFactory     = httpClientFactory;
     _recruiterService      = recruiterService;
     _positionService       = positionService;
     _candidateService      = candidateService;
     _interviewService      = interviewService;
     _locationService       = locationService;
     _candidatesTemplate    = candidatesTemplate;
     _positionsTemplate     = positionsTemplate;
     _newJobPostingTemplate = newJobPostingTemplate;
 }
Esempio n. 16
0
 public InterviewController(IUnitOfWork unitOfWork, IInterviewService interviewService)
 {
     _unitOfWork       = unitOfWork;
     _interviewService = interviewService;
 }
Esempio n. 17
0
 /// <summary>
 /// Controller that sets candidate service in order to access context resources
 /// </summary>
 /// <param name="candidateService">Parameter for setting candidate service</param>
 /// <param name="interviewService">Parameter for setting interview service</param>
 public CandidateController(ICandidateService candidateService, IInterviewService interviewService)
 {
     this.CandidateService = candidateService;
     this.InterviewService = interviewService;
 }
Esempio n. 18
0
 public InterviewController(IInterviewService service)
 {
     _service = service;
 }
Esempio n. 19
0
 public InterviewController(IInterviewService interviewService, ILibraryService libraryService)
 {
     _interviewService = interviewService;
     _libraryService   = libraryService;
 }
Esempio n. 20
0
 public InterviewController()
 {
     Service   = new InterviewService();
     ServiceAv = new AvailabilityService();
 }
Esempio n. 21
0
 /// <summary>
 /// Controller that sets interview service in order to access context resources
 /// </summary>
 /// <param name="interviewService">Parameter for setting interview service</param>
 /// <param name="agentService">Parameter for setting agent service</param>
 /// <param name="candidateService">Parameter for setting candidate service</param>
 public InterviewController(IInterviewService interviewService, IAgentService agentService, ICandidateService candidateService)
 {
     this.InterviewService = interviewService;
     this.AgentService     = agentService;
     this.CandidateService = candidateService;
 }
Esempio n. 22
0
 public InterviewController(IInterviewService interviewService, IHubContext <NotificationHub> hubContext)
 {
     _interviewService = interviewService;
     _hubContext       = hubContext;
 }
 public InterviewDataLoader(IInterviewService interviewService)
 {
     _interviewService = interviewService;
 }
Esempio n. 24
0
 public LatestInterviewsViewComponent(IInterviewService interviewService)
 {
     this.interviewService = interviewService;
 }
Esempio n. 25
0
 public Mutation(IInterviewService interviewService, ILogger <Mutation> logger)
 {
     _interviewService = interviewService;
     _logger           = logger;
 }
 public InterviewController(ILogger <InterviewController> logger, IInterviewService interviewService)
 {
     _logger           = logger;
     _interviewService = interviewService;
 }
 public InterviewController(IInterviewService interviewService) : base(interviewService)
 {
 }
Esempio n. 28
0
 public ProductController(IInterviewService interviewService)
 {
     _interviewService = interviewService;
 }
Esempio n. 29
0
 public InterviewController(IUnitOfWork unitOfWork, IInterviewService interviewService,IReferentialTeacherService referentialTeacherService)
 {
     _unitOfWork = unitOfWork;
     _interviewService = interviewService;
     _referentialTeacherService = referentialTeacherService;
 }
Esempio n. 30
0
 public VacancyService(IVacancyRepository vacancyRepository, IInterviewService interviewService, IMapper mapper)
 {
     _vacancyRepository = vacancyRepository;
     _interviewService  = interviewService;
     _mapper            = mapper;
 }
Esempio n. 31
0
 public ApplicationController()
 {
     Service  = new ApplicationService();
     ServiceI = new InterviewService();
 }
Esempio n. 32
0
 public InterviewController(IUnitOfWork unitOfWork, IInterviewService interviewService)
 {
     _unitOfWork = unitOfWork;
     _interviewService = interviewService;
 }