초기커밋

This commit is contained in:
2025-05-01 07:20:41 +09:00
commit 98bb2e3c5c
2747 changed files with 646947 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
using ServerCommon;
using ServerCore; using ServerBase;
public class UserTestInsertAction : EntityActionBase
{
public UserTestInsertAction(EntityBase owner) : base(owner)
{
}
public override async Task<Result> onInit()
{
var result = new Result();
return await Task.FromResult(result);
}
public override void onClear()
{
}
// 실제 할 일을 정의한다.
public async Task<(Result, UserTestDoc)> tryInsertUser(string userId, string name, DynamoDbClient dynamoDbClient)
{
ArgumentNullReferenceCheckHelper.throwIfNull(dynamoDbClient, () => $"dynamoDbClient is null !!! - {getOwner().toBasicString()}");
var doc = new UserTestDoc(userId, name);
var result = await doc.insertUser(dynamoDbClient);
return (result, doc);
}
}