Ejemplo 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;
 }
Ejemplo n.º 2
0
 public HomeController(ITextDescriptionService textDescriptionService)
 {
     tdService = textDescriptionService;
 }
Ejemplo n.º 3
0
 public TextController(ITextDescriptionService tdService, ITextService textService, IUserService userService)
 {
     this.tdService   = tdService;
     this.textService = textService;
     this.userService = userService;
 }