public void UpdateCompanyJobSkill(CompanyJobSkillPoco[] items) { EFGenericRepository <CompanyJobSkillPoco> CompanyJobSkillRepo = new EFGenericRepository <CompanyJobSkillPoco>(false); var Logic = new CompanyJobSkillLogic(CompanyJobSkillRepo); Logic.Update(items); }
public void UpdateCompanyJobSkill(CompanyJobSkillPoco[] items) { EFGenericRepository <CompanyJobSkillPoco> companyjobskillrepo = new EFGenericRepository <CompanyJobSkillPoco>(false); CompanyJobSkillLogic _companyjobskilllogic = new CompanyJobSkillLogic(companyjobskillrepo); _companyjobskilllogic.Update(items); }
public void UpdateCompanyJobSkill(CompanyJobSkillPoco[] pocos) { EFGenericRepository <CompanyJobSkillPoco> repo = new EFGenericRepository <CompanyJobSkillPoco>(false); CompanyJobSkillLogic logic = new CompanyJobSkillLogic(repo); logic.Update(pocos); }
public void UpdateCompanyJobSkill(CompanyJobSkillPoco[] items) { var logic = new CompanyJobSkillLogic (new EFGenericRepository <CompanyJobSkillPoco>()); logic.Update(items); }
public ActionResult PutCompanyJobSkill( [FromBody] CompanyJobSkillPoco[] pocos) { _logic.Update(pocos); return(Ok()); }
public void UpdateCompanyJobSkill(CompanyJobSkillPoco[] pocos) { ApplicantProfileRepository <CompanyJobSkillPoco> repo = new ApplicantProfileRepository <CompanyJobSkillPoco>(false); CompanyJobSkillLogic log = new CompanyJobSkillLogic(repo); log.Update(pocos); }
public override Task <Empty> UpdateCompanyJobSkill(ComJobSkillArray request, ServerCallContext context) { var pocos = ProtoToPoco(request); _logic.Update(pocos.ToArray()); return(new Task <Empty>(() => new Empty())); }
public IHttpActionResult PutCompanyJobSkill(CompanyJobSkillPoco[] companyJobSkill) { if (companyJobSkill == null) { return(NotFound()); } _logic.Update(companyJobSkill); return(Ok()); }
public ActionResult Edit([Bind(Include = "Id,Job,Skill,SkillLevel,Importance,TimeStamp")] CompanyJobSkillPoco companyJobSkillPoco) { if (ModelState.IsValid) { compJobSkillsPoco[0] = companyJobSkillPoco; companyJobSkillLogic.Update(compJobSkillsPoco); return(RedirectToAction("Index")); } ViewBag.Job = new SelectList(companyJobSkillLogic.GetAll(), "Job", "Job"); return(View(companyJobSkillPoco)); }
public IHttpActionResult PutCompanyJobSkill([FromBody] CompanyJobSkillPoco[] pocos) { try { _logic.Update(pocos); return(Ok(pocos)); } catch (Exception e) { return(InternalServerError(e)); } }
public ActionResult Edit([Bind(Include = "Id,SkillLevel,TimeStamp,Skill,Importance,Job")] CompanyJobSkillPoco companyJobSkillPoco) { if (ModelState.IsValid) { //db.Entry(companyJobSkillPoco).State = EntityState.Modified; //db.SaveChanges(); _logic.Update(new CompanyJobSkillPoco[] { companyJobSkillPoco }); return(RedirectToAction("Index")); } ViewBag.Job = new SelectList(db.CompanyJob, "Id", "Id", companyJobSkillPoco.Job); return(View(companyJobSkillPoco)); }
public override Task <Empty> UpdateCompanyJobSkill(CompanyJobSkillPayload request, ServerCallContext context) { CompanyJobSkillPoco[] poco = { new CompanyJobSkillPoco() { Id = Guid.Parse(request.Id), Job = Guid.Parse(request.Job), Importance = request.Importance, Skill = request.Skill, SkillLevel = request.SkillLevel } }; _logic.Update(poco); return(new Task <Empty>(() => new Empty())); }
public override Task <Empty> UpdateCompanyJobSkill(CompanyJobSkillPayload request, ServerCallContext context) { CompanyJobSkillPoco[] pocos = new CompanyJobSkillPoco[1]; foreach (var poco in pocos) { poco.Id = Guid.Parse(request.Id); poco.Job = Guid.Parse(request.Job); poco.Skill = request.Skill; poco.SkillLevel = request.SkillLevel; poco.Importance = request.Importance; } _logic.Update(pocos); return(new Task <Empty>(() => new Empty())); }
public override Task <Empty> UpdateCompanyJobSkill(CompanyJobSkillPayload request, ServerCallContext context) { CompanyJobSkillPoco[] pocos = new CompanyJobSkillPoco[1]; pocos[0].Id = Guid.Parse(request.Id); pocos[0].Job = Guid.Parse(request.Job); pocos[0].Skill = request.Skill; pocos[0].SkillLevel = request.SkillLevel; pocos[0].Importance = request.Importance; _logic.Update(pocos); return(new Task <Empty>(null)); }
public override Task <Empty> UpdateCompanyJobSkill(CompanyJobSkillPayLoad request, ServerCallContext context) { CompanyJobSkillPoco poco = new CompanyJobSkillPoco() { Id = new Guid(request.Id), Job = new Guid(request.Job), Skill = request.Skill, SkillLevel = request.SkillLevel, Importance = request.Importance }; _logic.Update(new CompanyJobSkillPoco[] { poco }); return(null); }
public override Task <Empty> UpdateCompanyJobSkill(CompanyJobSkillsPayload request, ServerCallContext context) { _ = _logic.Get(Guid.Parse(request.Id)) ?? throw new ArgumentNullException("No Company Job Skill Record with this Id Found"); var poco = new CompanyJobSkillPoco() { Id = Guid.Parse(request.Id), Importance = request.Importance, Job = Guid.Parse(request.Job), Skill = request.Skill, SkillLevel = request.SkillLevel }; _logic.Update(new CompanyJobSkillPoco[] { poco }); return(null); }
public ActionResult PutCompanyJobSkill([FromBody] CompanyJobSkillPoco[] jobskill) { try { _logic.Update(jobskill); return(Ok()); } catch (AggregateException e) { return(BadRequest(e)); } catch { return(StatusCode(500)); } }
public IHttpActionResult PutCompanyJobSkill([FromBody] CompanyJobSkillPoco[] pocos) { try { _logicObj.Update(pocos); return(this.Ok()); } catch (AggregateException e) { IEnumerable <ValidationException> exceptions = e.InnerExceptions.Cast <ValidationException>(); HttpResponseMessage response = this.Request.CreateErrorResponse(HttpStatusCode.BadRequest, exceptions.FirstOrDefault()); throw new HttpResponseException(response); } catch (Exception e) { HttpResponseMessage response = this.Request.CreateErrorResponse(HttpStatusCode.BadRequest, e); throw new HttpResponseException(response); } }
public void UpdateCompanyJobSkill(CompanyJobSkillPoco[] pocos) { var logic = new CompanyJobSkillLogic(new EFGenericRepository <CompanyJobSkillPoco>(false)); logic.Update(pocos); }
public IHttpActionResult PutCompanyJobSkill([FromBody] CompanyJobSkillPoco[] CompanyJobSkills) { _logic.Update(CompanyJobSkills); return(Ok()); }
public void UpdateCompanyJobSkill(CompanyJobSkillPoco[] items) { var reference = new CompanyJobSkillLogic(new EFGenericRepository <CompanyJobSkillPoco>(false)); reference.Update(items); }
public ActionResult PostCompanyJobSkill([FromBody] CompanyJobSkillPoco[] appEdupocos) { _logic.Update(appEdupocos); return(Ok()); }
public void updateCompanyJobSkillPoco(CompanyJobSkillPoco[] items) { _logicJobSkill.Update(items); }
public override Task <Empty> UpdateCompanyJobSkill(CompanyJobSkillPayload request, ServerCallContext context) { _logic.Update(GetArray(request)); return(new Task <Empty>(null)); }
public void UpdateCompanyJobSkill(CompanyJobSkillPoco[] items) { _cjsLogic.Update(items); }
public void UpdateCompanyJobSkill(CompanyJobSkillPoco[] item) { _companyJobSkill.Update(item); }
public void UpdateCompanyJobSkill(CompanyJobSkillPoco[] pocos) { _CompanyJobSkillLogic.Update(pocos); }