public async Task AddAsync(EmailMessage emailMessage) { await _context.EmailMessages.AddAsync(emailMessage); await _context.SaveChangesAsync(); Console.WriteLine(emailMessage.Subject); }
public async Task AddAsync(EmailMessage emailMessage) { await _context.EmailMessages.AddAsync(emailMessage); await _context.SaveChangesAsync(); }
public async Task AddAsync(User user) { await _context.Users.AddAsync(user); await _context.SaveChangesAsync(); }
public async Task AddAsync(Atachment atachment) { await _context.Atachments.AddAsync(atachment); await _context.SaveChangesAsync(); }
public async Task UpdateAsync(Smtp smtp) { _context.Smtp.Update(smtp); await _context.SaveChangesAsync(); }
public async Task UpdateAsync(Imap imap) { _context.Imaps.Update(imap); await _context.SaveChangesAsync(); }
public async Task AddAsync(SendedEmailMessage sendedEmailMessage) { await _context.SendedEmailMessages.AddAsync(sendedEmailMessage); await _context.SaveChangesAsync(); }
public async Task AddAsync(SendedAtachment sendedAtachment) { await _context.AddAsync(sendedAtachment); await _context.SaveChangesAsync(); }
public async Task DeleteAsync(T T) { _entities.Remove(T); await _context.SaveChangesAsync(); }
public async Task AddAsync(EmailAccount emailAccount) { await _context.EmailAccounts.AddAsync(emailAccount); await _context.SaveChangesAsync(); }