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

            await _context.SaveChangesAsync();

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

            await _context.SaveChangesAsync();

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

            await _context.SaveChangesAsync();

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

            await _context.SaveChangesAsync();

            return(customer);
        }