public IHttpActionResult GetTarefaViewModel(Guid id) { TarefaViewModel tarefaViewModel = _tarefaAppService.TrazerPorId(id); if (tarefaViewModel == null) { return(NotFound()); } return(Ok(tarefaViewModel)); }
public IHttpActionResult GetTarefaViewModel(Guid id) { TarefaViewModel tarefaViewModel = _tarefaAppService.TrazerPorId(id); if (tarefaViewModel == null) { return(NotFound()); } return(Ok(tarefaViewModel)); }