示例#1
0
 /// <summary>
 /// Block a friend
 /// </summary>
 /// <param name="userId"></param>
 /// <param name="friendId"></param>
 /// <returns></returns>
 public bool BlockFriend(int userId, int friendId) => _repository.BlockFriend(userId, friendId);
示例#2
0
 public bool BlockFriend(int userId, int friendId)
 {
     return(_context.BlockFriend(userId, friendId));
 }