public override async Task <ListarReply> Listar(Empty request, ServerCallContext context)
        {
            ListarReply result = new ListarReply();

            result.Lista.AddRange(_mapper.Map <IEnumerable <TipoTarefaModel> >(_tipoTarefaAppService.Listar()));

            return(await Task.FromResult(result));
        }
        public async Task <IEnumerable <WorkflowViewModel> > ListarAsync()
        {
            ListarReply response = await _client.ListarAsync(new Empty());

            return(_mapper.Map <IEnumerable <WorkflowViewModel> >(response.Lista));
        }