// NewOperation returns a resource of the appropriate sub-type for the provided // operation record. func NewOperation( ctx context.Context, row db.OperationRecord, ) (result hal.Pageable, err error) { return operations.New(ctx, row) }
// NewOperation returns a resource of the appropriate sub-type for the provided // operation record. func NewOperation( ctx context.Context, row history.Operation, ) (result hal.Pageable, err error) { return operations.New(ctx, row) }