public IActionResult Post([FromBody] ExameViewModel viewModel) { try { _exameService.Create(viewModel.ToEntity()); return(Ok()); } catch (AppException ex) { return(SendFeedback(ex.Message)); } catch (System.Exception ex) { _logger.LogError(ex.Message, ex, ex.InnerException); return(SendFeedback(_unavailable)); } }