Beispiel #1
0
        public string GetPersonalComputer(int id, int weight, int stock, string coolingSystem, string caseFormFactor)
        {
            var laptop = new Laptop
            {
                Id             = id,
                Weight         = weight,
                Stock          = stock,
                CoolingSystem  = coolingSystem,
                CaseFormFactor = caseFormFactor,
            };

            return(laptop.GetFeatures());
        }