public async Task <ProductViewModel> GetProductViewModel(string name) { var product = await _productService.FindBySlugIncludeAll(name); var styleViews = await _styleService.GetByProductId(product.Id); var bestSellers = await _productService.GetProductsWithStylesAndImage(3); var categories = await _categoryService.GetAllPublishedWithProducts(); return(new ProductViewModel(product, styleViews, bestSellers, categories)); }