コード例 #1
0
        public async Task <IActionResult> get()
        {
            try
            {
                var response = await salesServices.getCliente();

                return(Ok(response));
            }
            catch (Exception ex)
            {
                _logger.LogWarning(LogEvents.ExeptionError, ex, "Error Exception");
                return(BadRequest(ex.ToString()));
            }
        }