Example #1
0
        public async Task <bool> CreateMessageInAsync(MessageIn sms)
        {
            if (sms != null)
            {
                await _context.AddAsync(sms);

                await _context.SaveChangesAsync();

                return(true);
            }

            return(false);
        }
Example #2
0
        public async Task <bool> LogEmailAsync(EmailLog emailLog)
        {
            if (emailLog != null)
            {
                await _context.AddAsync(emailLog);

                await _context.SaveChangesAsync();

                return(true);
            }

            return(false);
        }
Example #3
0
        public async Task <bool> CreateTaxPayerInAsync(TaxPayer taxpayer)
        {
            if (taxpayer != null)
            {
                await _context.AddAsync(taxpayer);

                await _context.SaveChangesAsync();

                return(true);
            }

            return(false);
        }
Example #4
0
        public async Task <bool> CreateAuditLogAsync(AuditLog category)
        {
            if (category != null)
            {
                await _context.AddAsync(category);

                await _context.SaveChangesAsync();

                return(true);
            }

            return(false);
        }
Example #5
0
        public async Task <bool> CreatePaymentAsync(PaymentTransaction taxpayer)
        {
            if (taxpayer != null)
            {
                await _context.AddAsync(taxpayer);

                await _context.SaveChangesAsync();

                return(true);
            }

            return(false);
        }