Пример #1
0
        public virtual string DownloadUsageFile(string modelId, string fileId)
        {
            try
            {
                var result = Task.Run(async() => await RecommendationsRepository.DownloadUsageFileAsync(modelId, fileId)).Result;

                return(result);
            }
            catch (Exception ex)
            {
                Logger.Error("RecommendationsService.DownloadUsageFile failed", this, ex);
            }

            return(null);
        }