public PartialViewResult RemoveWorkSkill(int id) { var skillWork = new Models.Skill() { ID = id }; var tblSkillWork = new TblSkill(); tblSkillWork.Delete(skillWork); return PartialView("_PartialWorkSkills", tblSkillWork.GetAll().Where(a => a.EntryType == "work").ToList()); }
public PartialViewResult RemoveTechSkill(int id) { var skillTech = new Models.Skill() { ID = id }; var tblSkillTech = new TblSkill(); tblSkillTech.Delete(skillTech); return PartialView("_PartialTechSkills", tblSkillTech.GetAll().Where(a => a.EntryType == "tech").ToList()); }