public async Task <bool> LogEmailAsync(EmailLog emailLog) { if (emailLog != null) { await _context.AddAsync(emailLog); await _context.SaveChangesAsync(); return(true); } return(false); }
public async Task <bool> CreateMessageInAsync(MessageIn sms) { if (sms != null) { await _context.AddAsync(sms); await _context.SaveChangesAsync(); return(true); } return(false); }
public async Task <bool> CreateTaxPayerInAsync(TaxPayer taxpayer) { if (taxpayer != null) { await _context.AddAsync(taxpayer); await _context.SaveChangesAsync(); return(true); } return(false); }
public async Task <bool> CreatePaymentAsync(PaymentTransaction taxpayer) { if (taxpayer != null) { await _context.AddAsync(taxpayer); await _context.SaveChangesAsync(); return(true); } return(false); }
public async Task <bool> CreateAuditLogAsync(AuditLog category) { if (category != null) { await _context.AddAsync(category); await _context.SaveChangesAsync(); return(true); } return(false); }