namespace CashLineERP.Application.IslamicFinance.ProductProfiles;

public interface IIslamicFinanceProductRepository
{
    IReadOnlyCollection<IslamicFinanceProductProfileDetailView> GetProductProfiles(bool activeOnly = false, string? productType = null);
    IslamicFinanceProductProfileDetailView? GetProductProfile(long productProfileId);
    IslamicFinanceProductProfileDetailView Create(CreateIslamicFinanceProductProfileCommand command);
    IslamicFinanceProductProfileDetailView Submit(long productProfileId, long actorUserId);
    IslamicFinanceProductProfileDetailView Approve(long productProfileId, long actorUserId);
    IslamicFinanceProductProfileDetailView Activate(long productProfileId, long actorUserId);
}
