public object Get(HomePage request) { return new HomePageResponse { HomePage = new HomePage { Featured = Products.GetFeatured(), Showcase = Products.GetShowcase(), } }; }
public HomePageResponse(HomePage page) { HomePage = page; }