<?php

namespace App\Http\Controllers;

use App\Package;
use App\StoreItems;
use Illuminate\Http\Request;

class StoreItemsController extends Controller
{
    /**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function index()
    {
        $storeItems=StoreItems::orderBy('id','DESC')->paginate(50);
        return view('store.storeItem.index',['storeItems'=>$storeItems]);
    }

    /**
     * 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)
    {
        //
    }

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

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

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

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