コード例 #1
0
        public async Task <HttpResponseMessage> Excluir(Guid id)
        {
            try
            {
                var response = _servicePessoa.ExcluirPessoa(id);

                return(await ResponseAsync(response, _servicePessoa));
            }
            catch (Exception ex)
            {
                return(await ResponseExceptionAsync(ex));
            }
        }