public async Task <bool> Delete(Guid id) { try { var result = await _campeonatoService.Delete(id); await _campeonatoService.Commit(); return(result); } catch (Exception) { _campeonatoService.Dispose(); throw; } }
public async Task <bool> Delete(Guid id) { try { var result = await _campeonatoService.Delete(id); await _campeonatoService.Commit(); return(result); } catch (Exception) { _campeonatoService.Dispose(); throw; } }