Beispiel #1
0
 public ActionResult <List <TodoItem> > GetAll()
 {
     return(Ok(userDataProvider.GetUsers()));
 }
Beispiel #2
0
 public async Task <IEnumerable <Users> > Get2()
 {
     return(await userDataProvider.GetUsers());
 }