App/Http/Controllers/QuestionController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Models\Question  $question
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(Question $question,$id)
    {
            Question::destroy(array('id',$id));
            return redirect('view_questions');
    }
public function destroy ( Question $ question , $ id ) { Question :: destroy ( array ( 'id' , $ id ) ) ; return redirect ( 'view_questions' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .