public void UpdateAPerfs(APerfs aperfs) => collection.UpdateOne(x => x.ContestID == aperfs.ContestID, new UpdateDefinitionBuilder <APerfs>().Set(x => x.APerfDic, aperfs.APerfDic));
public void CreateAPerfs(APerfs aperfs) => collection.InsertOne(aperfs);