public static async Task <Guid> Create(Guid configurationId, Guid userSubscriptionId, bool enabled) { CreateCustomerSubscriptionsConfigurationsCommand command3 = new CreateCustomerSubscriptionsConfigurationsCommand { ConfigurationId = configurationId, UserSubscriptionId = userSubscriptionId, Enabled = enabled }; Guid id = await Mediator.Send(command3); return(id); }
public async Task <ActionResult <Guid> > Post(CreateCustomerSubscriptionsConfigurationsCommand command) { Guid customerSubscriptionConfigurationId = await _mediator.Send(command); return(customerSubscriptionConfigurationId); }