protected internal void DeleteCaseManager(object sender, EventArgs e) { int PersonID = Convert.ToInt32(((LinkButton)sender).CommandArgument); InternalUser thisEmployee = InternalUser.Get(PersonID); int CaseID = Convert.ToInt32(Session["CaseID"]); thisCase = Case.Get(CaseID); thisCase.DeleteCaseManager(thisEmployee); thisCase = Case.Get(CaseID); BindData(); }