예제 #1
0
        public object Get(GetSeriesTimer request)
        {
            var result = _liveTvManager.GetSeriesTimer(request.Id, CancellationToken.None).Result;

            return(ToOptimizedSerializedResultUsingCache(result));
        }
예제 #2
0
        public async Task <object> Get(GetSeriesTimer request)
        {
            var result = await _liveTvManager.GetSeriesTimer(request.Id, CancellationToken.None).ConfigureAwait(false);

            return(ToOptimizedSerializedResultUsingCache(result));
        }