Esempio n. 1
0
        public async Task Add(Client client)
        {
            await context.AddAsync(client);

            await context.SaveChangesAsync();
        }
Esempio n. 2
0
        public async Task Add(Payment payment)
        {
            await context.AddAsync(payment);

            await context.SaveChangesAsync();
        }
        public async Task Add(Order order)
        {
            await context.AddAsync(order);

            await context.SaveChangesAsync();
        }
Esempio n. 4
0
        public async Task Add(Category category)
        {
            await context.AddAsync(category);

            await context.SaveChangesAsync();
        }