/**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function destroy($id)
 {
     $test = new Task();
     $result = $test->DeleteImg($id);
     if ($result == 1) {
         return redirect('task');
     }
     return redirect('task')->withInput()->withErrors("Sorry!!Not Found.");
 }