示例#1
0
        public async Task AddAccountAsyncAsync_Test()
        {
            var item = new BankAccountInfo()
            {
                AccountNumber = 123456,
                SocialId      = "123456789",
                BankCode      = 31,
                BranchNumber  = 1,
                BirthDay      = new DateTime(1972, 1, 1),
                CityCode      = "CityCode",
                NameEnglish   = "NameEnglish",
                NameLocal     = "NameLocal"
            };

            IBankAccountRepository bankRepository = new BankAccountRepository();
            await bankRepository.CreateAsync(item);

            Assert.True(item.Id > 0);
        }