using LiteCharms.Models; namespace LiteCharms.Features.Customers.Queries; public class GetCustomerQuery : IRequest> { public Guid CustomerId { get; set; } private GetCustomerQuery(Guid customerId) => CustomerId = customerId; public static GetCustomerQuery Create(Guid customerId) { if(customerId == Guid.Empty) throw new ArgumentException("Customer ID is required.", nameof(customerId)); return new(customerId); } }