예제 #1
0
        public async Task DeleteMatchAsync(Match match)
        {
            await _inner.DeleteMatchAsync(match);

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

            await _inner.DeleteMatchAsync(match);
        }