Esempio n. 1
0
 public CommentService(
     SocialMediaDbContext data,
     ITaggedUserService taggedUserService)
 {
     this._data = data;
     this._taggedUserService = taggedUserService;
 }
 public CommentsController(
     IFriendshipService friendshipService,
     ICommentService commentService,
     ITaggedUserService taggedUserService,
     IUserService userService)
 {
     this._friendshipService = friendshipService;
     this._commentService    = commentService;
     this._taggedUserService = taggedUserService;
     this._userService       = userService;
 }
Esempio n. 3
0
 public GroupsController(
     IUserService userService,
     IGroupService groupService,
     IPostService postService,
     ICommentService commentService,
     ITaggedUserService taggedUserService)
 {
     this._userService       = userService;
     this._groupService      = groupService;
     this._postService       = postService;
     this._commentService    = commentService;
     this._taggedUserService = taggedUserService;
 }
 public PostsController(
     IFriendshipService friendshipService,
     IPostService postService,
     ITaggedUserService taggedUserService,
     ICommentService commentService,
     IUserService userService,
     IJsonService <UserServiceModel> jsonService)
 {
     this._friendshipService = friendshipService;
     this._postService       = postService;
     this._taggedUserService = taggedUserService;
     this._commentService    = commentService;
     this._userService       = userService;
     this._jsonService       = jsonService;
 }