/**
  * @param $id
  * @return \Symfony\Component\HttpFoundation\Response
  */
 public function delete($id)
 {
     ApiLog::create(['call' => 'Ferret::delete']);
     $ferret = Ferret::where('id', $id)->first();
     if (!$ferret) {
         $ferret = new Ferret();
         return response()->json(['version' => env('API_VERSION'), 'success' => false, 'message' => 'No ferret was found under this ID: ' . $id, 'links' => $ferret->getLinks()]);
     } else {
         $ferret->delete();
         return response()->json(['version' => env('API_VERSION'), 'success' => true, 'message' => "Ferret has been deleted", 'links' => $ferret->getLinks()]);
     }
 }
 /**
  * @param $id
  * @return \Symfony\Component\HttpFoundation\Response
  */
 public function delete($id)
 {
     ApiLog::create(['call' => 'Mouse::delete']);
     $mouse = Mouse::where('id', $id)->first();
     if (!$mouse) {
         $mouse = new Mouse();
         return response()->json(['version' => env('API_VERSION'), 'success' => false, 'message' => 'No mouse was found under this ID: ' . $id, 'links' => $mouse->getLinks()]);
     } else {
         $mouse->delete();
         return response()->json(['version' => env('API_VERSION'), 'success' => true, 'message' => "Mouse has been deleted", 'links' => $mouse->getLinks()]);
     }
 }
 /**
  * @param $id
  * @return \Symfony\Component\HttpFoundation\Response
  */
 public function delete($id)
 {
     ApiLog::create(['call' => 'Cow::delete']);
     $cow = Cow::where('id', $id)->first();
     if (!$cow) {
         $cow = new Cow();
         return response()->json(['version' => env('API_VERSION'), 'success' => false, 'message' => 'No cow was found under this ID: ' . $id, 'links' => $cow->getLinks()]);
     } else {
         $cow->delete();
         return response()->json(['version' => env('API_VERSION'), 'success' => true, 'message' => "Cow has been deleted", 'links' => $cow->getLinks()]);
     }
 }
 /**
  * @param $id
  * @return \Symfony\Component\HttpFoundation\Response
  */
 public function delete($id)
 {
     ApiLog::create(['call' => 'Dog::delete']);
     $dog = Dog::where('id', $id)->first();
     if (!$dog) {
         $dog = new Dog();
         return response()->json(['version' => env('API_VERSION'), 'success' => false, 'message' => 'No dog was found under this ID: ' . $id, 'links' => $dog->getLinks()]);
     } else {
         $dog->delete();
         return response()->json(['version' => env('API_VERSION'), 'success' => true, 'message' => "Dog has been deleted", 'links' => $dog->getLinks()]);
     }
 }