Пример #1
0
        public ActionResult DeleteFamilyPicture(int id)
        {
            var family = CurrentDatabase.LoadFamilyByPersonId(id);

            family.DeletePicture(CurrentDatabase, CurrentImageDatabase);
            return(Redirect("/Person2/" + id));
        }