예제 #1
0
        public IEnumerable <Download> GetLatestDownloads()
        {
            try
            {
                var latestDownloads = _downloadRepository.GetLatestDownloads(10);
                return(latestDownloads);
            }
            catch (Exception e)
            {
                LogError(e);
            }

            return(null);
        }