public ChatHub(IMessageService service, IMapper mapper, SimpleChatDbContext con, RedisClient <SignalRConnection, string> connectionCache, RedisClient <SignalRGroup, string> groupCache) { _service = service; _mapper = mapper; _con = con; _connectionCache = connectionCache; _groupCache = groupCache; }
public Repository(SimpleChatDbContext context) { con = context; }
protected AbstractRepository(SimpleChatDbContext context) { dbContext = context; }
public UnitOfWork(SimpleChatDbContext con) { _con = con; }
public ChatRepository(SimpleChatDbContext context) : base(context) { }
public UnitOfWork(SimpleChatDbContext simpleChatDbContext) { this.simpleChatDbContext = simpleChatDbContext; }
public MessageRepository(SimpleChatDbContext context) : base(context) { }
public RepositoryBase(SimpleChatDbContext context) { this.context = context; }
public UserService(SimpleChatDbContext _con, IMapper _mapper) { con = _con; mapper = _mapper; }