示例#1
0
 public async Task AddFriend(UserModel currentUser, string friendLogin)
 {
     await friendsRepository.CreateFriendRecord(new FriendsModel { CurrentUserLogin = currentUser.Login, FriendUserLogin = friendLogin });
 }