Esempio n. 1
0
        public async Task <IActionResult> ObterCliente(IObterClienteSignature signature)
        {
            try
            {
                var result = await _clienteApp.ObterCliente(signature);

                if (result == null)
                {
                    result = new ObterClienteResult();
                }

                return(Ok(result));
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message.ToString());
            }
        }