public void Delete(CancelSyncJobItem request) { var task = _syncManager.CancelJobItem(request.Id); Task.WaitAll(task); }