app/Http/Controllers/RemarkController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\remark  $remark
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy($remarkId)
    {
        remark::findOrfail($remarkId)->delete();
        return redirect()->back()->with(['success'=>'Done Delete remark from project']);
    }
public function destroy ( $ remarkId ) { remark :: findOrfail ( $ remarkId ) -> delete ( ) ; return redirect ( ) -> back ( ) -> with ( [ 'success' => 'Done Delete remark from project' ] ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .