コード例 #1
0
 public FeedController(IMapper mapper,
                       Services.Post.PostService postService,
                       Services.Comment.CommentService commentService,
                       CurrentUser currentUser,
                       Services.Photo.PhotoService photoService,
                       Services.Reaction.ReactionService reactionService) : base(mapper)
 {
     this.postService     = postService;
     this.commentService  = commentService;
     this.currentUser     = currentUser;
     this.photoService    = photoService;
     this.reactionService = reactionService;
     this.PageSize        = 10;
 }
コード例 #2
0
 public UsersController(IMapper mapper,
                        Services.User.UserService userService,
                        Services.CurrentUser currentUser,
                        Services.FriendShip.FriendshipService friendshipService,
                        Services.InterestsUsers.InterestsUsersService interestsUsersService,
                        Services.County.CountyService countyService,
                        Services.Interest.InterestService interestService,
                        Services.Album.AlbumService albumService,
                        Services.Photo.PhotoService photoService)
     : base(mapper)
 {
     this.userService           = userService;
     this.currentUser           = currentUser;
     this.friendshipService     = friendshipService;
     this.interestsUsersService = interestsUsersService;
     this.countyService         = countyService;
     this.interestService       = interestService;
     this.albumService          = albumService;
     this.photoService          = photoService;
     PageSize = 50;
 }
コード例 #3
0
 public PhotosController(Services.Photo.PhotoService photoService, IMapper imapper) :
     base(imapper)
 {
     this.photoService = photoService;
 }