public ActionResult DeleteConfirmed(int id) { JOB_INTERVIEW_EVALUATION jOB_INTERVIEW_EVALUATION = db.JOB_INTERVIEW_EVALUATION.Find(id); db.JOB_INTERVIEW_EVALUATION.Remove(jOB_INTERVIEW_EVALUATION); db.SaveChanges(); return(RedirectToAction("Index")); }
public ActionResult Edit([Bind(Include = "Id,interviewee_name,interview_date,job_applied_for,department,education,experience,job_knoledge,conceptual_clarity,appearance,communication,confidence_level,attitude,current_salary,expected_salary,reason_F_L_P_C,overall_evaluation,recommented_to_be_employed,in_position_of,employment_in_the_future")] JOB_INTERVIEW_EVALUATION jOB_INTERVIEW_EVALUATION) { if (ModelState.IsValid) { db.Entry(jOB_INTERVIEW_EVALUATION).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index")); } return(View(jOB_INTERVIEW_EVALUATION)); }
public ActionResult Delete(int?id) { if (id == null) { return(new HttpStatusCodeResult(HttpStatusCode.BadRequest)); } JOB_INTERVIEW_EVALUATION jOB_INTERVIEW_EVALUATION = db.JOB_INTERVIEW_EVALUATION.Find(id); if (jOB_INTERVIEW_EVALUATION == null) { return(HttpNotFound()); } return(View(jOB_INTERVIEW_EVALUATION)); }