public bool AvailableUpdater(VersionModel version)
        {
            if (version == null)
                return false;

            return _updaterVersionService.Available(version.Version);
        }
        public bool AvailableApplication(VersionModel versionModel)
        {
            if (versionModel == null)
                return false;

            return _applicationVersionService.Available(versionModel.Version);
        }
        public HttpResponseMessage GetLastApplication(VersionModel versionModel)
        {
            if (versionModel == null)
                return null;

            var content = _applicationVersionService.GetLastVersion(versionModel.Version);
            var result = new HttpResponseMessage(HttpStatusCode.OK) { Content = new ByteArrayContent(content) };
            result.Content.Headers.ContentType = new MediaTypeHeaderValue("application/octet-stream");

            result.Content.Headers.ContentDisposition = new ContentDispositionHeaderValue("attachment")
            {
                FileName = "app.zip"
            };

            return result;
        }