app/Http/Controllers/Classrooms/ClassroomController.php
/**
     * Remove the specified resource from storage.
     *
     * @param int $id
     * @return Response
     */
Remove the specified resource from storage.
@param int $id
@return Response
Remove the specified resource from storage . @param int $id @return Response
public function destroy(Request $request)
    {
        $Classrooms = Classroom::findOrFail($request->id)->delete();
        toastr()->error(trans('messages.Delete'));
        return redirect()->route('Classrooms.index');
    }
public function destroy ( Request $ request ) { $ Classrooms = Classroom :: findOrFail ( $ request -> id ) -> delete ( ) ; toastr ( ) -> error ( trans ( 'messages.Delete' ) ) ; return redirect ( ) -> route ( 'Classrooms.index' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .