public function RemoveSchedule($id_activity)
 {
     \App\Models\FestivalActivities::where("id_activity", "=", $id_activity)->delete();
 }
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     FestivalActivities::find($id)->Festival()->detach();
     $schedule = FestivalActivities::find($id);
     $a = FestivalActivities::where('id', $id)->delete();
     $response = [];
     $response["events"] = $schedule->name;
     if ($a > trashed()) {
         $statusCode = 200;
         $response['result'] = "deleted";
     } else {
         $statusCode = 422;
         $response['result'] = "Cannot delete.";
     }
     return Response::json($response, $statusCode);
 }