16 lines
456 B
C#
16 lines
456 B
C#
|
using BikeSharing_Private_Web_Site.Services.Pagination;
|
|||
|
using Microsoft.AspNetCore.Mvc.Rendering;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace Microsoft.eShopOnContainers.WebMVC.Models.CartViewModels
|
|||
|
{
|
|||
|
public class CartComponentViewModel
|
|||
|
{
|
|||
|
public int ItemsCount { get; set; }
|
|||
|
public string Disabled { get { return (ItemsCount == 0) ? "is-disabled" : ""; } }
|
|||
|
}
|
|||
|
}
|