Exemple #1
0
        protected internal void DeleteVictim(object sender, EventArgs e)
        {
            int PersonID = Convert.ToInt32(((LinkButton)sender).CommandArgument);
            Victim thisVictim = Victim.Get(PersonID);
            int CaseID = Convert.ToInt32(Session["CaseID"]);
            thisCase = Case.Get(CaseID);

            thisCase.DeleteVictim(thisVictim);
            thisCase = Case.Get(CaseID);
            BindData();
        }