Пример #1
0
 public ProfileController(IProfileObjectsRepository r, IFollowingObjectsRepository followingRepository, UserManager <IdentityUser> userManager, IImageHandler imageHandler)
 {
     _profileRepository   = r;
     _followingRepository = followingRepository;
     _userManager         = userManager;
     _imageHandler        = imageHandler;
 }
Пример #2
0
 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;
 }