/// <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);
public bool BlockFriend(int userId, int friendId) { return(_context.BlockFriend(userId, friendId)); }