/**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function destroy($id)
 {
     TaskStatus::destroy($id);
     return redirect()->route('setup.task-status.index');
 }
 /**
  * Bind data to the view.
  *
  * @param  View  $view
  * @return void
  */
 public function compose(View $view)
 {
     $taskStatusOptions = [0 => 'Please Select'] + $this->status->all()->pluck('name', 'id')->toArray();
     $view->with('taskStatusOptions', $taskStatusOptions);
 }