예제 #1
0
 public CommentController(BaseSimpleControllerServices services, CommentViewService service)
     : base(services)
     //public CommentController(ILogger<CommentController> logger, CommentViewService service)
     //    : base(logger)
 {
     this.service = service;
 }
예제 #2
0
 public ReadTestBase()
 {
     contentService = CreateService <ContentViewService>();
     userService    = CreateService <UserViewService>();
     activitySource = CreateService <ActivityViewSource>();
     commentService = CreateService <CommentViewService>();
     watchService   = CreateService <WatchViewService>();
 }