Ejemplo n.º 1
0
 public BeatsController(IBeatService beatService, ICurrentUserService currentUser, IHubContext <FeedHub> feedHub, IDistributedCache cacheService)
 {
     this.beatService  = beatService;
     this.currentUser  = currentUser;
     this.feedHub      = feedHub;
     this.cacheService = cacheService;
 }
Ejemplo n.º 2
0
 public RecommendsController(
     ICurrentUserService currentUser,
     IRecommendService recommendService,
     IBeatService beatService)
 {
     this.currentUser      = currentUser;
     this.recommendService = recommendService;
     this.beatService      = beatService;
 }
 public CommentsController(
     ICommentService commentService,
     ICurrentUserService currentUser,
     INotificationService notificationService,
     IArtistService artistService,
     IBeatService beatService,
     IHubContext <NotificationHub> notificationHub)
 {
     this.commentService      = commentService;
     this.currentUser         = currentUser;
     this.notificationService = notificationService;
     this.artistService       = artistService;
     this.beatService         = beatService;
     this.notificationHub     = notificationHub;
 }
Ejemplo n.º 4
0
 public LikesController(
     ICurrentUserService currentUser,
     ILikeService likeService,
     INotificationService notificationService,
     IArtistService artistService,
     IBeatService beatService,
     IHubContext <NotificationHub> notificationHub)
 {
     this.currentUser         = currentUser;
     this.likeService         = likeService;
     this.notificationService = notificationService;
     this.artistService       = artistService;
     this.beatService         = beatService;
     this.notificationHub     = notificationHub;
 }