public async Task <ActionResult <Collection <Friend> > > getFriends(int userId) { if (_userservice.getFriendlist(userId) == null) { return(NotFound("User not found or User has no Friends.")); } return(await Task.FromResult(_friendBridge.mapToFriendCollectionFrom(_userservice.getFriendlist(userId)))); }