public ProfileController(IProfileObjectsRepository r, IFollowingObjectsRepository followingRepository, UserManager <IdentityUser> userManager, IImageHandler imageHandler) { _profileRepository = r; _followingRepository = followingRepository; _userManager = userManager; _imageHandler = imageHandler; }
public EventController(IEventObjectsRepository repository, UserManager <IdentityUser> userManager, IProfileObjectsRepository profileRepository, IAttendingObjectsRepository attendingRepository, IImageHandler imageHandler, IHubContext <CalendarHub> hubContext, ICommentObjectsRepository commentRepository, ICommentEventObjectsRepository commentEventRepository, ICommentProfileObjectsRepository commentProfileRepository) { _userManager = userManager; _profileRepository = profileRepository; _eventRepository = repository; _attendingRepository = attendingRepository; _imageHandler = imageHandler; _hubContext = hubContext; _commentRepository = commentRepository; _commentEventRepository = commentEventRepository; _commentProfileRepository = commentProfileRepository; }