Ejemplo n.º 1
0
 public SubscriptionController(UserManager <UserAccount> userManager,
                               SubscriptionManager subscriptionManager,
                               ApiResponseFactory responseFactory,
                               ApiModelFactory modelFactory,
                               IOptionManager optionManager)
 {
     this.userManager         = userManager;
     this.subscriptionManager = subscriptionManager;
     this.responseFactory     = responseFactory;
     this.modelFactory        = modelFactory;
     this.optionManager       = optionManager;
 }
Ejemplo n.º 2
0
 public VideoController(UserManager <UserAccount> userManager,
                        VideoManager videoManager,
                        SubscriptionManager subscriptionManager,
                        ApiResponseFactory responseFactory,
                        ApiModelFactory modelFactory,
                        IVideoStorageService videoStorage)
 {
     this.userManager         = userManager;
     this.videoManager        = videoManager;
     this.subscriptionManager = subscriptionManager;
     this.responseFactory     = responseFactory;
     this.modelFactory        = modelFactory;
     this.videoStorage        = videoStorage;
 }