Exemplo n.º 1
0
 public UserController(IUserService userService, IProfileService profileService,
                       ITextDescriptionService textDescriptionService, ICommentService commentService,
                       ICommentRelationService commentRelationService, IRatingService ratingService)
 {
     this.userService            = userService;
     this.profileService         = profileService;
     this.tdService              = textDescriptionService;
     this.commentService         = commentService;
     this.commentRelationService = commentRelationService;
     this.ratingService          = ratingService;
 }
Exemplo n.º 2
0
 public CommentController(ICommentRelationService commentRelationService, ICommentService commentService, IUserService userService)
 {
     this.commentService = commentService;
     crService           = commentRelationService;
     this.userService    = userService;
 }