Esempio n. 1
0
 public async Task <ActionResult <string> > Get([FromRoute] int id)
 {
     return(await _usersApi.GetUser(id));
 }
 public void WhenIGetUser(string username)
 {
     _userResponse = _usersApi.GetUser(username).Result;
 }