コード例 #1
0
        public async Task DeleteTest()
        {
            var repo = new BetRepository(new Deserializer());
            var bet3 = new Bet
            {
                Id = Guid.NewGuid(), BetSize = 7, UserId = Guid.NewGuid(), EventId = Guid.NewGuid(), Outcome = "outcome3"
            };
            await repo.CreateAsync(bet3);

            await repo.DeleteAsync(bet3.Id);
        }