public Event CreateTestDataItemEvent(OpportunityType opportunityType, Event @event)
        {
            var components = CreateTestDataItem(opportunityType, @event);

            return(OrderCalculations.RenderOpportunityWithOnlyId(RenderOpportunityJsonLdType(components), RenderOpportunityId(components)));
        }
Exemplo n.º 2
0
        async Task <Event> IOpportunityStore.CreateOpportunityWithinTestDataset(string testDatasetIdentifier, OpportunityType opportunityType, TestOpportunityCriteriaEnumeration criteria, TestOpenBookingFlowEnumeration openBookingFlow, SellerIdComponents seller)
        {
            var components = await CreateOpportunityWithinTestDataset(testDatasetIdentifier, opportunityType, criteria, openBookingFlow, seller);

            return(OrderCalculations.RenderOpportunityWithOnlyId(opportunityType, RenderOpportunityId(components)));
        }