public IActionResult Get() { try { return(Ok(_exameService.GetAll().Select(s => s.ToExameViewModel()).ToArray())); } catch (AppException ex) { return(SendFeedback(ex.Message)); } catch (System.Exception ex) { _logger.LogError(ex.Message, ex, ex.InnerException); return(SendFeedback(_unavailable)); } }