using System.Collections.Generic;
using DiplomovaPrace.Contracts.ProductCategories.ViewModels;

namespace DiplomovaPrace.Web.Admin.Store.ProductCategoryUseCase
{
	public class ProductCategoryState
	{
		public bool IsLoading { get; set; }

		public List<ProductCategoryDto> ProductCategories { get; } = new();

		public ProductCategoryState(bool isLoading, List<ProductCategoryDto> productCategories)
		{
			IsLoading = isLoading;
			ProductCategories = productCategories;
		}
	}
}
