public async Task <ActionResult> GarageRegister(GarageRegisterDto garageRegisterDto) { try { await _garageService.GarageRegister(garageRegisterDto); return(Response.Ok()); } catch (BaseException e) { _logger.LogInformation(ExceptionHandlerHelper.ExceptionMessageStringToLogger(e)); return(Response.HandleExceptions(e)); } catch (Exception e) { _logger.LogError(e, GetType().Name + "." + MethodBase.GetCurrentMethod().Name); return(Response.InternalServerError()); } }