public async Task DeleteMatchAsync(Match match) { await _inner.DeleteMatchAsync(match); await _context.SaveChangesAsync(); }
public async Task DeleteMatch(int id) { var m = await _context.Matches.FindAsync(id); await _matchesManager.DeleteMatchAsync(m); }
public async Task DeleteMatchAsync(Match match) { await _observer.Update(new MatchDeleteStateCommand(match)); await _inner.DeleteMatchAsync(match); }