public RoomService(IRoomRepository roomRepository, IMapper mapper, IAuthHelper authHelper, IUserRoomRepository userRoomRepository) { _mapper = mapper; _roomRepository = roomRepository; _authHelper = authHelper; _userRoomRepository = userRoomRepository; }
public AddNewUserRoom(IRoomRepository roomRepository, IUserRepository userRepository, IUserRoomRepository userRoomRepository, IUnitOfWork unitOfWork) { this.roomRepository = roomRepository; this.userRepository = userRepository; this.userRoomRepository = userRoomRepository; _unitOfWork = unitOfWork; }
public AddNewPrivateConversation(IRoomRepository roomRepository, IUserRepository userRepository, IUserRoomRepository userRoomRepository, IDomainRepository domainRepository, IUnitOfWork unitOfWork) { this.roomRepository = roomRepository; this.userRepository = userRepository; this.userRoomRepository = userRoomRepository; this.domainRepository = domainRepository; _unitOfWork = unitOfWork; }
public RoomActor(IBORepository <Room> roomRepository, IBORepository <User> userRepository, IMessageRepository <Message> messageRepository, IUserRoomRepository <UserRoom> visitRepository, IActorPathResolver pathResolver) { this.userRepository = userRepository; this.roomRepository = roomRepository; this.messageRepository = messageRepository; this.visitRepository = visitRepository; this.pathResolver = pathResolver; mediator = DistributedPubSub.Get(Context.System).Mediator; Receive <Messages.Subscribe>(evt => HandleSubscribe(evt)); Receive <Messages.Unsubscribe>(evt => HandleUnsubscribe(evt)); Receive <TextMessage>(msg => SendToSubscribers(msg)); }
public UserRoomController(IUserRoomRepository repo) => _repo = repo;
public GetUserRoomByIds(IUserRoomRepository userRoomRepository) { this.userRoomRepository = userRoomRepository; }