public virtual IEnumerable <EDominio> Get() { try { return(service.BuscarTodos()); } catch (Exception ex) { Erro _erro = new GerenciadorErroService().TrataErro(ex); throw new HttpResponseException(Request.CreateErrorResponse(HttpStatusCode.NotFound, _erro.Mensagem)); } }