public ActionResult <Pet> Delete(int id)
 {
     try
     {
         return(StatusCode(202, _petTypeService.DeleteByID(id)));
     }
     catch (Exception e)
     {
         return(StatusCode(500, e.Message));
     }
 }