Exemple #1
0
 public function all()
 {
     //$stores = $this->storeRepo->all();
     //return response()->json($stores);
     $stores = Store::all();
     return $stores;
 }
 public function store_select()
 {
     $stores = Store::lists('nombreTienda', 'id');
     return response()->json($stores);
 }