public object Get(GetSyncJobs request) { var result = _syncManager.GetJobs(new SyncJobQuery { StartIndex = request.StartIndex, Limit = request.Limit }); return(ToOptimizedResult(result)); }
public async Task <object> Get(GetSyncJobs request) { var result = await _syncManager.GetJobs(request).ConfigureAwait(false); return(ToOptimizedResult(result)); }