public async Task Remove(Entities.League league, TeamLeagueTable table, TeamFixture fixture) { this.GuardCheck(fixture); var line1 = table.GetOrCreateLine(fixture.Entrant1); var line2 = table.GetOrCreateLine(fixture.Entrant2); await this.InnerRemove(league, line1, fixture); await this.InnerRemove(league, line2, fixture); }
public async Task Add(Entities.League league, TeamLeagueTable table, TeamFixture fixture) { this.GuardCheck(fixture); var line1 = table.GetOrCreateLine(fixture.Entrant1); var line2 = table.GetOrCreateLine(fixture.Entrant2); await this.InnerAdd(league, line1, fixture); await this.InnerAdd(league, line2, fixture); this.SetLastUpdate(table, fixture); }