public void DeleteDeadAnimals(int id)
 {
     using (var deadAnimal = new DeadAnimalRepository())
     {
         DeadAnimal anima = deadAnimal.GetById(id);
         if (anima != null)
         {
             deadAnimal.Delete(anima);
         }
     }
 }