/// <summary> /// Initializes a new instance of the <see cref="ChatHub"/> class. /// </summary> /// <param name="chatRepostitory">The chat repostitory.</param> /// <param name="mapper">The mapper.</param> public ChatHub(IChatRepostitory chatRepostitory, IMapper mapper) { this.chatRepostitory = chatRepostitory; this.mapper = mapper; }
/// <summary> /// Initializes a new instance of the <see cref="GamesController"/> class. /// </summary> /// <param name="gameService">The game service.</param> /// <param name="mapper">The mapper.</param> /// <param name="chatRepository">The chat repository.</param> public GamesController(IGameService gameService, IMapper mapper, IChatRepostitory chatRepository) { this.gameService = gameService; this.mapper = mapper; this.chatRepository = chatRepository; }