Пример #1
0
 public static function store(WaterPriceRequest $request)
 {
     $price = new WaterPrice();
     $price->description = $request->input('description');
     $price->price = $request->input('price');
     $price->save();
     return redirect()->route('water-prices.index')->with('success', 'El registro ha sido almacenado correctamente');
 }