public function removeContestantImage($id)
 {
     $cg = ContestantGallery::find($id);
     if ($cg != null && count($cg) > 0) {
         $contestant = Contestant::find($cg->contestant_id);
         // Delete a single file
         $admin_galley_path = config('app.contestant_image_galley');
         $front_galley_path = config('app.contestant_front_image_galley');
         $destinationPath = $admin_galley_path;
         $filename = $destinationPath . $cg->gallery_path;
         $filename2 = $front_galley_path . $cg->gallery_path;
         $cg->delete();
         File::delete($filename);
         File::delete($filename2);
         return view('contestants.listimages', compact('contestant'));
     }
 }