private void unsubscribeUser(int userId)
        {
            var activeSubscription = _subscriptionManipulation.GetCustomerSubscription(userId);

            activeSubscription.IsActive = false;
            _subscriptionManipulation.UpdateSubscription(activeSubscription);
        }
Exemplo n.º 2
0
 public SubscriptionDto GetActiveSubscription(int customerId)
 {
     return(_subscriptionManipulation.GetCustomerSubscription(customerId));
 }