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