public List <CompanyJobSkillPoco> GetAllCompanyJobSkill() { ApplicantProfileRepository <CompanyJobSkillPoco> repo = new ApplicantProfileRepository <CompanyJobSkillPoco>(false); CompanyJobSkillLogic log = new CompanyJobSkillLogic(repo); return(log.GetAll()); }
public List <CompanyJobSkillPoco> GetAllCompanyJobSkill() { EFGenericRepository <CompanyJobSkillPoco> repo = new EFGenericRepository <CompanyJobSkillPoco>(false); CompanyJobSkillLogic logic = new CompanyJobSkillLogic(repo); return(logic.GetAll()); }
public List <CompanyJobSkillPoco> GetAllCompanyJobSkill() { List <CompanyJobSkillPoco> companyJobSkillPoco = new List <CompanyJobSkillPoco>(); var logic = new CompanyJobSkillLogic(new EFGenericRepository <CompanyJobSkillPoco>(false)); companyJobSkillPoco = logic.GetAll(); return(companyJobSkillPoco); }
public IHttpActionResult GetAllCompanyJobSkill() { var companies = _logic.GetAll(); if (companies == null) { NotFound(); } return(Ok(companies)); }
public IHttpActionResult GetAllCompanyJobSkill() { var applicants = _logic.GetAll(); if (applicants == null) { return(NotFound()); } return(Ok(applicants)); }
public IHttpActionResult GetAllCompanyJobSkill() { var companyJobSkillList = _logic.GetAll(); if (companyJobSkillList == null) { return(NotFound()); } return(Ok(companyJobSkillList)); }
public IHttpActionResult GetAllCompanyJobSkill() { List <CompanyJobSkillPoco> result = _logic.GetAll(); if (result == null) { return(NotFound()); } return(Ok(result)); }
public IHttpActionResult GetAlljobskill() { List <CompanyJobSkillPoco> pocos = logic.GetAll(); if (pocos == null) { return(NotFound()); } return(Ok(pocos)); }
public ActionResult GetAllCompanyJobSkill() { List <CompanyJobSkillPoco> poco = _logic.GetAll(); if (poco is null) { return(NotFound()); } return(Ok(poco)); }
public ActionResult GetAllCompanyJobSkill() { var poco = _logic.GetAll(); if (poco == null) { return(NotFound()); } return(Ok(poco)); }
public IHttpActionResult GetAllCompanyJobSkill() { try { IEnumerable <CompanyJobSkillPoco> itemList = _logicObj.GetAll(); if (itemList != null) { return(this.Ok(itemList)); } else { return(this.NotFound()); } } catch (Exception e) { HttpResponseMessage response = this.Request.CreateErrorResponse(HttpStatusCode.BadRequest, e); throw new HttpResponseException(response); } }
public ActionResult GetAllCompanyJobSkill() { var companylist = _logicref.GetAll(); if (companylist != null) { return(Ok(companylist)); } else { return(NotFound()); } }
public ActionResult GetCompanyJobSkill() { List <CompanyJobSkillPoco> companyJobSkillPocos = _logic.GetAll(); if (companyJobSkillPocos == null) { return(NotFound()); } else { return(Ok(companyJobSkillPocos)); } }
public ActionResult GetAllCompanyJobSkills() { var copmanyJobSkills = _logic.GetAll(); if (copmanyJobSkills == null) { return(NotFound()); } else { return(Ok(copmanyJobSkills)); } }
public ActionResult GetAllCompanyJobSkill() { var Company = _logic.GetAll(); if (Company == null) { return(NotFound()); } else { return(Ok(Company)); } }
public IHttpActionResult GetCompanyJobSkill() { try { List <CompanyJobSkillPoco> poco = _logic.GetAll(); if (poco == null) { return(NotFound()); } return(Ok(poco)); } catch (Exception e) { return(InternalServerError(e)); } }
public override Task <AllCompanyJobSkillsPayload> GetAllCompanyJobSkill(Empty request, ServerCallContext context) { var Pocos = _logic.GetAll(); _ = Pocos ?? throw new ArgumentNullException(" No Company Job Skill record was found"); var AllCompanyJobSkillsPayload = new AllCompanyJobSkillsPayload(); Pocos.ForEach(poco => AllCompanyJobSkillsPayload.CompanyJobSkills.Add(new CompanyJobSkillsPayload { Id = poco.Id.ToString(), Importance = poco.Importance, Job = poco.Job.ToString(), Skill = poco.Skill, SkillLevel = poco.SkillLevel })); return(new Task <AllCompanyJobSkillsPayload>(() => AllCompanyJobSkillsPayload)); }
// GET: CompanyJobs public ActionResult Index() { Guid _userProfileId = (Guid)TempData["Company"]; TempData.Keep(); List <CompanyJobPost> postedJobs = new List <CompanyJobPost>(); List <CompanyJobPoco> jobPocos = new List <CompanyJobPoco>(); Dictionary <Guid, CompanyJobDescriptionPoco> descPocos = new Dictionary <Guid, CompanyJobDescriptionPoco>(); Dictionary <Guid, CompanyJobSkillPoco> skillPocos = new Dictionary <Guid, CompanyJobSkillPoco>(); Dictionary <Guid, CompanyJobEducationPoco> eduPocos = new Dictionary <Guid, CompanyJobEducationPoco>(); Guid UserID = (Guid)TempData["Company"]; TempData.Keep(); jobPocos = _jobLogic.GetAll().Where(T => T.Company == UserID).ToList(); foreach (CompanyJobPoco x in jobPocos) { descPocos.Add(x.Id, _descLogic.GetAll().Where(T => T.Job == x.Id).FirstOrDefault()); skillPocos.Add(x.Id, _skillLogic.GetAll().Where(T => T.Job == x.Id).FirstOrDefault()); eduPocos.Add(x.Id, _eduLogic.GetAll().Where(T => T.Job == x.Id).FirstOrDefault()); } foreach (CompanyJobPoco x in jobPocos) { CompanyJobPost y = new CompanyJobPost { JobID = x.Id, JobName = descPocos[x.Id].JobName, JobDescription = descPocos[x.Id].JobDescriptions, Major = eduPocos[x.Id].Major, EduImportance = eduPocos[x.Id].Importance, Skill = skillPocos[x.Id].Skill, SkillLevel = skillPocos[x.Id].SkillLevel, SkillImportance = skillPocos[x.Id].Importance, Created = x.ProfileCreated, IfInactive = x.IsInactive, IfHidden = x.IsCompanyHidden }; postedJobs.Add(y); } return(View(postedJobs)); }
public override Task <ComJobSkillArray> GetAllCompanyJobSkill(Empty request, ServerCallContext context) { List <CompanyJobSkillPoco> pocos = _logic.GetAll(); List <ComJobSkillProto> compJobSkillList = new List <ComJobSkillProto>(); foreach (var poco in pocos) { ComJobSkillProto compJobSkill = new ComJobSkillProto(); compJobSkill.Id = poco.Id.ToString(); compJobSkill.Job = poco.Job.ToString(); compJobSkill.Skill = poco.Skill; compJobSkill.SkillLevel = poco.SkillLevel; compJobSkill.Importance = poco.Importance; compJobSkillList.Add(compJobSkill); } ComJobSkillArray comJobSkillArray = new ComJobSkillArray(); comJobSkillArray.ComJobSkill.AddRange(compJobSkillList); return(new Task <ComJobSkillArray>(() => comJobSkillArray)); }
public IHttpActionResult GetAllCompanyJobSkill() { List <CompanyJobSkillPoco> appJobApp = _logic.GetAll(); return(Ok(appJobApp)); }
public List <CompanyJobSkillPoco> GetAllCompanyJobSkill() { var _logic = new CompanyJobSkillLogic(new EFGenericRepository <CompanyJobSkillPoco>(false)); return(_logic.GetAll()); }
public ActionResult GetAllCompanyJobSkill() { return(Ok(_logic.GetAll())); }
public List <CompanyJobSkillPoco> GetAllCompanyJobSkill() { return(_cjsLogic.GetAll()); }
public IList <CompanyJobSkillPoco> GetAllCompanyJobSkillPoco() { return(_logicJobSkill.GetAll()); }
public List <CompanyJobSkillPoco> GetAllCompanyJobSkill() { var reference = new CompanyJobSkillLogic(new EFGenericRepository <CompanyJobSkillPoco>(false)); return(reference.GetAll()); }
public IHttpActionResult GetCompanyJobSkill() { List <CompanyJobSkillPoco> companyJobSkillData = _logic.GetAll(); return(Ok(companyJobSkillData)); }