예제 #1
0
 public async Task <ActionResult <List <CursoViewModel> > > GetTodosCursos()
 {
     return(Ok(_cursoViewModel
               .ConverterListModelParaListViewModel(await _cursoRepository.GetAllAsync())));
 }