public SubscriptionResource( IUpdateSubscriptionCommand updateCommand, IDeleteSubscriptionCommand deleteCommand, IEntityById entityById) { this.updateCommand = updateCommand; this.deleteCommand = deleteCommand; this.entityById = entityById; }
public SubscriptionService(IAddSubscriptionCommand addSubscription, IUpdateSubscriptionCommand updateSubscription, IOfflineProcessingService offlineProcessingService) { _addSubscription = addSubscription; _updateSubscription = updateSubscription; _offlineProcessingService = offlineProcessingService; }