コード例 #1
0
        public static async Task ScoreInitialize(IScoreRepository Repository)
        {
            if (!await Repository.CheckCount())
            {
                await Repository.CreateAsync(new Score { Name = "KICB", PaymentTypeId = 2, Code = "123123123", Balance = 10000 });

                await Repository.CreateAsync(new Score { Name = "ELSOM", PaymentTypeId = 1, Code = "123123123", Balance = 10000 });

                await Repository.CreateAsync(new Score { Name = "DemirBank", PaymentTypeId = 2, Code = "123123123", Balance = 10000 });
            }
        }