Beispiel #1
0
 Task <IUser> IUsersService.GetUserByNameAsync(string username)
 {
     return(Task.Run(() => _usersProvider.GetUserByName(username).ToEntity()));
 }