public object Get(GetRecordingGroups request) { var result = _liveTvManager.GetRecordingGroups(new RecordingGroupQuery { UserId = request.UserId }, CancellationToken.None).Result; return(ToOptimizedSerializedResultUsingCache(result)); }
public async Task <object> Get(GetRecordingGroups request) { var result = await _liveTvManager.GetRecordingGroups(new RecordingGroupQuery { UserId = request.UserId }, CancellationToken.None).ConfigureAwait(false); return(ToOptimizedSerializedResultUsingCache(result)); }