예제 #1
0
 /**
  * Store a newly created resource in storage.
  *
  * @param InventoryRequest $request
  * @return \Illuminate\Http\Response
  */
 public function store(InventoryRequest $request)
 {
     Inventory::create($request->all());
     return redirect()->route('inventory.index')->withMessage('Inventory Added Successfully')->withStatus('success');
 }