%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/ugotscom/kma/app/Http/Controllers/
Upload File :
Create Path :
Current File : /home/ugotscom/kma/app/Http/Controllers/BrokerageController.php

<?php

namespace App\Http\Controllers;

use App\Brokerage;
use Illuminate\Http\Request;

class BrokerageController extends Controller
{
    /**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function index()
    {
        //
    }

    /**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function create()
    {
        //
    }

    /**
     * Store a newly created resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    public function store(Request $request)
    {
        //
        $brokerage = new Brokerage;
        $brokerage->propertyid=$request->propertyid;
        $brokerage->landlordamt=$request->landlordamt;
        $brokerage->tenantamt=$request->tenantamt;      
        $brokerage->status=1;  
        $brokerage->save();
    }

    /**
     * Display the specified resource.
     *
     * @param  \App\Brokerage  $brokerage
     * @return \Illuminate\Http\Response
     */
    public function show(Brokerage $brokerage)
    {
        //
    }

    /**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Brokerage  $brokerage
     * @return \Illuminate\Http\Response
     */
    public function edit(Brokerage $brokerage)
    {
        //
    }

    /**
     * Update the specified resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \App\Brokerage  $brokerage
     * @return \Illuminate\Http\Response
     */
    public function update(Request $request, Brokerage $brokerage)
    {
        //
    }

    /**
     * Remove the specified resource from storage.
     *
     * @param  \App\Brokerage  $brokerage
     * @return \Illuminate\Http\Response
     */
    public function destroy(Brokerage $brokerage)
    {
        //
    }
}

Zerion Mini Shell 1.0