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();
        }