using DbFirst.Domain;
using DbFirst.Domain.Entities;

namespace DbFirst.Application.Repositories;

public interface ICatalogRepository : IRepository<VwmyCatalog>
{
    Task<VwmyCatalog?> GetByTitleAsync(string title, CancellationToken cancellationToken = default);
    Task<VwmyCatalog?> UpdateAsync(int id, VwmyCatalog catalog, CatalogUpdateProcedure procedure, CancellationToken cancellationToken = default);
}
