Пример #1
0
        public void GetPartLayout(string imageProfileId, string hdToGet, string newHdSize, string clientHd, string taskType, string partitionPrefix)
        {
            if (!Authorize()) return;

            var partLayout = new ClientPartitionScript
            {
                profileId = Convert.ToInt32(imageProfileId),
                HdNumberToGet = Convert.ToInt32(hdToGet),
                NewHdSize = newHdSize,
                ClientHd = clientHd,
                TaskType = taskType,
                partitionPrefix = partitionPrefix
            };

            HttpContext.Current.Response.Write(partLayout.GeneratePartitionScript());
        }