Пример #1
0
        public IHttpActionResult UpdateDownloadRequestRelease(DownloadRequestRelease downloadRequestRelease)
        {
            var dataToReturn = _downloadRequestReleaseService.UpdateDownloadRequestRelease(new DownloadRequestRelease
            {
                Id = downloadRequestRelease.Id,
                DownloadRequestReleaseStatusType = downloadRequestRelease.DownloadRequestReleaseStatusType,
            });

            return(Ok(dataToReturn));
        }
Пример #2
0
        public IHttpActionResult IncreaseDownloadRequestReleaseDate(DownloadRequestRelease downloadRequestRelease)
        {
            var dataToReturn = _downloadRequestReleaseService.IncreaseDownloadRequestReleaseDate(new DownloadRequestRelease
            {
                Id        = downloadRequestRelease.Id,
                CreatedOn = downloadRequestRelease.CreatedOn
            });

            return(Ok(dataToReturn));
        }
Пример #3
0
        public IHttpActionResult CreateDownloadRequestRelease(DownloadRequestRelease downloadRequestRelease)
        {
            var dataToReturn = _downloadRequestReleaseService.CreateDownloadRequestRelease(downloadRequestRelease);

            return(Ok(dataToReturn));
        }