public IEnumerable <ImpedimentoTarefaViewModel> Get() { return(_impedimentoTarefaAppService.Listar()); }
public IEnumerable <ImpedimentoTarefaViewModel> Get(bool getDependencies = false) { return(_impedimentoTarefaAppService.Listar(getDependencies)); }
public override async Task <ListarReply> Listar(Empty request, ServerCallContext context) { ListarReply result = new ListarReply(); result.Lista.AddRange(_mapper.Map <IEnumerable <ImpedimentoTarefaModel> >(_impedimentoTarefaAppService.Listar())); return(await Task.FromResult(result)); }