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

namespace DiplomovaPrace.Web.Admin.Store.DeliveryTypeUseCase
{
	public class DeliveryTypeState
	{
		public bool IsLoading { get; set; }

		public List<DeliveryTypeVM> DeliveryTypes { get; } = new();

		public DeliveryTypeState(bool isLoading, List<DeliveryTypeVM> deliveryTypes)
		{
			IsLoading = isLoading;
			DeliveryTypes = deliveryTypes;
		}
	}
}
