/**
  * Add a new Location with or without a parent
  *
  * @Post("/", as="AdminLocationStore")
  */
 public function updateSave(Request $request, Locations $locations)
 {
     $input = $request->all();
     /* print_r($input);
        exit;*/
     return response()->json($locations->update($input['location_name'], $input['location_id'], $input['slug'], $input['location_type'], $input['location_parent_id']));
 }