// GET: Software/Details/5
        public ActionResult Details(int id)
        {
            var powerSupply = _softwareService.GetSoftware(id);

            if (powerSupply == null)
            {
                return(NotFound());
            }
            var model = new SoftwareViewModel()
            {
                Id               = powerSupply.Id,
                Name             = powerSupply.Name,
                ShortDescription = string.IsNullOrEmpty(powerSupply.Description) ? "" : CreateShortDescription(powerSupply.Description),
                Publisher        = powerSupply.Publisher.Name,
                Developer        = powerSupply.Developer.Name,
                RecomendedCPURequirmentsDisplay       = CreateCPuDisplay(powerSupply.SoftwareCPURequirements.Where(m => m.RequirementTypeId == 2).ToList()),
                RecomendedVideoCardRequirmentsDisplay = CreateVideoCardDisplay(powerSupply.SoftwareVideoCardRequirements.Where(m => m.RequirementTypeId == 2).ToList()),
                MinimiumRequiredRAMDisplay            = powerSupply.MinimiumRequiredRAM + " Гб",
                RecommendedRequiredRAMDisplay         = powerSupply.RecommendedRequiredRAM + " Гб",
                DiscVolumeDisplay                  = CreateMemoryDescription(powerSupply.DiscVolume),
                MinimumCPURequirmentsDisplay       = CreateCPuDisplay(powerSupply.SoftwareCPURequirements.Where(m => m.RequirementTypeId == 1).ToList()),
                MinimumVideoCardRequirmentsDisplay = CreateVideoCardDisplay(powerSupply.SoftwareVideoCardRequirements.Where(m => m.RequirementTypeId == 1).ToList()),
                ImagePath   = "/Images/Software/" + powerSupply.Image,
                Price       = powerSupply.Price,
                Description = powerSupply.Description
            };

            return(View(model));
        }