using ErsatzTV.Core.Api.Search;

namespace ErsatzTV.Application.Search.Queries;

public class GetSearchFieldCatalogHandler : IRequestHandler<GetSearchFieldCatalog, List<SearchFieldResponseModel>>
{
    public Task<List<SearchFieldResponseModel>> Handle(
        GetSearchFieldCatalog request,
        CancellationToken cancellationToken) =>
        Task.FromResult(SearchFieldCatalog.Fields);
}
