public function create(Request $request, WidgetBoxHandler $handler, FrontendHandler $frontend)
{
$id = $request->get('id');
if (!$request->user()->isAdmin()) {
throw new AccessDeniedHttpException();
}
$widgetbox = $handler->find($id);
if ($widgetbox) {
throw new IDAlreadyExistsException();
}
$frontend->css('assets/vendor/bootstrap/css/bootstrap.min.css')->loadAsync();
return apiRender('widgetbox.create', compact('id'));
}