public ActionResult <List <LaptopOutput> > list() { return(_laptopRepository.list() .Select(laptop => new LaptopOutput(laptop)) .ToList()); }