Beispiel #1
0
        /// <summary>
        /// To delete a particular work history details of the jobseeker
        /// </summary>
        /// <param name="id">WorkHistoryId</param>
        public void Delete(string id)
        {
            IWorkHistoryService <WorkHistory> jobSeekerWorkHistoryService = ServiceFactory.GetJobSeekerWorkHistory();
            var jobSeekerWorkHistory = jobSeekerWorkHistoryService.GetById(id);

            jobSeekerWorkHistoryService.Delete(jobSeekerWorkHistory);
        }
 public UserController(IUserInfoService service, IOwnerService oservice, IWorkerService wservice, IEducationalService eservice, IWorkHistoryService whservice, ICategoryService categoryService, IskillService skillService, IWorkerSkillService workerSkillService)
 {
     _uservice           = service;
     _oservice           = oservice;
     _wservice           = wservice;
     _eservice           = eservice;
     _whservice          = whservice;
     _categoryService    = categoryService;
     _skillService       = skillService;
     _workerSkillService = workerSkillService;
 }
        public static IWorkHistoryService <WorkHistory> GetJobSeekerWorkHistory()
        {
            IWorkHistoryService <SkillSmart.Dto.WorkHistory> serviceObj = null;

            switch (sectionHandler.ConnectionStringName)
            {
            case DataBaseType.SKILLSMART_MONGO_DB: serviceObj = new WorkHistoryService(DatabaseFactory.CreateMongoDatabase());
                break;

            default: serviceObj = new WorkHistoryService(DatabaseFactory.CreateMongoDatabase());
                break;
            }
            return(serviceObj);
        }
 public ResumesController(IEducationsService educationsService,
                          IJobSeekerService jobSeekerService,
                          ISkillService skillService,
                          IResumeService resumeService,
                          UserManager <User> userManager,
                          IWorkHistoryService workHistoryService)
 {
     this.educationsService  = educationsService;
     this.jobSeekerService   = jobSeekerService;
     this.resumeService      = resumeService;
     this.skillService       = skillService;
     this.userManager        = userManager;
     this.workHistoryService = workHistoryService;
 }
Beispiel #5
0
 public ImportService(IPersonService personService,
                      IWorkHistoryService workHistoryService, IEducationService educationService,
                      ICategoryService categoryService, ITechnologyService technologyService,
                      ISkillService skillService, IProjectService projectService, IProjectTechnologyService projectTechnologyService,
                      ICertificateService certificateService)
 {
     this._personService            = personService;
     this._workHistoryService       = workHistoryService;
     this._educationService         = educationService;
     this._categoryService          = categoryService;
     this._technologyService        = technologyService;
     this._skillService             = skillService;
     this._projectService           = projectService;
     this._projectTechnologyService = projectTechnologyService;
     this._certificateService       = certificateService;
 }
 public ExportFileService(IWebHostEnvironment webHostEnvironment,
                          IOptions <AppSettings> appSettings,
                          IPersonService personService,
                          ISkillService skillService,
                          IWorkHistoryService workHistoryService,
                          IEducationService educationService,
                          ICertificateService certificateService,
                          IProjectService projectService)
 {
     this._webHostEnvironment = webHostEnvironment;
     this._appSettings        = appSettings.Value;
     this._personService      = personService;
     this._skillService       = skillService;
     this._workHistoryService = workHistoryService;
     this._educationService   = educationService;
     this._certificateService = certificateService;
     this._projectService     = projectService;
 }
Beispiel #7
0
 public WorkHistoryController(IWorkHistoryService workHistoryService)
 {
     this._workHistoryService = workHistoryService;
 }
Beispiel #8
0
 public WorkHistoryApiController(IWorkHistoryService workHistoryService)
 {
     _workHistoryService = workHistoryService;
 } //WorkHistoryApiController