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

namespace DiplomovaPrace.Web.Admin.Store.PaymentTypeUseCase
{
	public class PaymentTypeState
	{
		public bool IsLoading { get; set; }

		public List<PaymentTypeVM> PaymentTypes { get; } = new();

		public PaymentTypeState(bool isLoading, List<PaymentTypeVM> paymentTypes)
		{
			IsLoading = isLoading;
			PaymentTypes = paymentTypes;
		}
	}
}
