app/Http/Controllers/M_branchController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\M_branch  $m_branch
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(M_branch $m_branch)
    {
        $m_branch->delete();
        return redirect()->route('m_branch.index')
                        ->with('success','Branch deleted successfully');
    }
public function destroy ( M_branch $ m_branch ) { $ m_branch -> delete ( ) ; return redirect ( ) -> route ( 'm_branch.index' ) -> with ( 'success' , 'Branch deleted successfully' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .