예제 #1
0
 public EventService(IUnitOfWork unitOfWork, IEventCommentService eventCommentService, IPlaceService placeService)
 {
     _unitOfWork          = unitOfWork;
     _eventCommentService = eventCommentService;
     _placeService        = placeService;
 }
예제 #2
0
 public EventCommentsController(UserManager <ApplicationUser> users, IEventCommentService comments, IEventService events)
 {
     this.userManager = users;
     this.comments    = comments;
     this.events      = events;
 }
예제 #3
0
 public EventCommentController(IEventCommentService eventCommentService, IUserService userService)
 {
     _eventCommentService = eventCommentService;
     _userService         = userService;
 }