Exemplo n.º 1
0
 public SubscriptionResource(
     IUpdateSubscriptionCommand updateCommand,
     IDeleteSubscriptionCommand deleteCommand,
     IEntityById entityById)
 {
     this.updateCommand = updateCommand;
     this.deleteCommand = deleteCommand;
     this.entityById    = entityById;
 }
Exemplo n.º 2
0
 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;
 }