namespace CashLineERP.Application.Procurement;

public interface IPurchaseRequisitionRepository
{
    IReadOnlyCollection<PurchaseRequisitionDetailView> GetPurchaseRequisitions();

    PurchaseRequisitionDetailView? GetPurchaseRequisition(long requisitionId);

    PurchaseRequisitionDetailView Create(CreatePurchaseRequisitionCommand command);

    PurchaseRequisitionDetailView Submit(long requisitionId, long actorUserId);
}
