protected function getResponse(Request $request, Closure $closure, $redirectPath = null)
{
try {
$closure();
return $this->getOkResponse($request, $redirectPath);
} catch (Exception $exception) {
return $this->getFailResponse($request, $exception);
}
}