コード例 #1
0
        public async Task CreateItemAsync(Item item)
        {
            await context.AddAsync(item);

            await context.SaveChangesAsync();
        }
コード例 #2
0
        public async Task CreateClientCompanyAsync(ClientCompany company)
        {
            await context.AddAsync(company);

            await context.SaveChangesAsync();
        }