Пример #1
0
 public VideoController(IVideoService videoService, IVideoCatService videoCatService)
 {
     this.VideoService = videoService;
     this.VideoCatService = videoCatService;
     this.AddDisposableObject(videoService);
     this.AddDisposableObject(videoCatService);
 }
 public VideoCategoryController(IVideoCatService catService)
 {
     this.VideoCatService = catService;
     this.AddDisposableObject(catService);
 }