public void DeleteAccountTeam(AccountTeam accountTeam) { if (accountTeam == null) { throw new ArgumentNullException(nameof(accountTeam)); } _context.AccountTeam.Remove(accountTeam); _context.SaveChanges(); }
public void CreateAccountTeam(AccountTeam accountTeam) { if (accountTeam == null) { throw new ArgumentNullException(nameof(accountTeam)); } _context.AccountTeam.Add(accountTeam); }