partial void DeleteotherSkill(otherSkill instance);
partial void InsertotherSkill(otherSkill instance);
partial void UpdateotherSkill(otherSkill instance);
public ActionResult otherSkill(otherSkill parOtherSkill) { otherSkill otherSki = (from otherSkis in db2.otherSkills where otherSkis.email == parOtherSkill.email select otherSkis).SingleOrDefault(); if (otherSki == null) { parOtherSkill.createdDate = DateTime.Now; db2.otherSkills.InsertOnSubmit(parOtherSkill); db2.SubmitChanges(); } else { otherSki.modifiedDate = DateTime.Now; otherSki.other = parOtherSkill.other; otherSki.language = parOtherSkill.language; otherSki.certificate = parOtherSkill.certificate; db2.SubmitChanges(); } return RedirectToAction("successfulResume"); }