public IHttpActionResult UpdateDownloadRequestRelease(DownloadRequestRelease downloadRequestRelease) { var dataToReturn = _downloadRequestReleaseService.UpdateDownloadRequestRelease(new DownloadRequestRelease { Id = downloadRequestRelease.Id, DownloadRequestReleaseStatusType = downloadRequestRelease.DownloadRequestReleaseStatusType, }); return(Ok(dataToReturn)); }
public IHttpActionResult IncreaseDownloadRequestReleaseDate(DownloadRequestRelease downloadRequestRelease) { var dataToReturn = _downloadRequestReleaseService.IncreaseDownloadRequestReleaseDate(new DownloadRequestRelease { Id = downloadRequestRelease.Id, CreatedOn = downloadRequestRelease.CreatedOn }); return(Ok(dataToReturn)); }
public IHttpActionResult CreateDownloadRequestRelease(DownloadRequestRelease downloadRequestRelease) { var dataToReturn = _downloadRequestReleaseService.CreateDownloadRequestRelease(downloadRequestRelease); return(Ok(dataToReturn)); }