public async Task <VerificationProvider> AddVerificationProvider(VerificationProvider verificationProvider)
        {
            await _context.VerificationProvider.AddAsync(verificationProvider);

            await _context.SaveChangesAsync();

            return(verificationProvider);
        }
Exemplo n.º 2
0
        public async Task <Payment> AddPayment(Payment payment)
        {
            await _context.Payment.AddAsync(payment);

            await _context.SaveChangesAsync();

            return(payment);
        }
Exemplo n.º 3
0
        public async Task <Domain> AddDomain(Domain domain)
        {
            await _context.Domain.AddAsync(domain);

            await _context.SaveChangesAsync();

            return(domain);
        }
Exemplo n.º 4
0
        public async Task <Customer> AddCustomer(Customer customer)
        {
            await _context.Customer.AddAsync(customer);

            await _context.SaveChangesAsync();

            return(customer);
        }