2016-11-10 09:13:08 +01:00
|
|
|
|
using Microsoft.AspNetCore.Mvc.Rendering;
|
2016-11-07 18:37:11 +01:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2017-03-03 16:00:15 +01:00
|
|
|
|
namespace Microsoft.eShopOnContainers.WebMVC.ViewModels.CartViewModels
|
2016-11-07 18:37:11 +01:00
|
|
|
|
{
|
|
|
|
|
public class CartComponentViewModel
|
|
|
|
|
{
|
|
|
|
|
public int ItemsCount { get; set; }
|
|
|
|
|
public string Disabled { get { return (ItemsCount == 0) ? "is-disabled" : ""; } }
|
|
|
|
|
}
|
|
|
|
|
}
|