public async Task AddCustomerAsync(User user, CustomerInfo customerInfo) { await context.AddAsync(user); await context.SaveChangesAsync(); customerInfo.Id = user.Id; await context.CustomerInfo.AddAsync(customerInfo); await context.SaveChangesAsync(); }