public TzNotificationHub( ITzChatRepository tzChatRepository, IEntityRepository <TzNotification> tzNotification ) { this._tzChatRepository = tzChatRepository; this._tzNotification = tzNotification; }
public TzChatHub(ITzChatRepository tzChatRepository) { this._tzChatRepository = tzChatRepository; if (TzChatStatus.OnUserVM == null) { TzChatStatus.OnUserVM = UserVM; } }
public ChatController( UserManager <ApplicationUser> userManager, ITzChatRepository tzChatRepository, IEntityRepository <ChatRecord> chatRecordRepository, IEntityRepository <ChatRecordContent> chatRecordContentRepository ) { this._userManager = userManager; this._tzChatRepository = tzChatRepository; this._chatRecordRepository = chatRecordRepository; this._chatRecordContentRepository = chatRecordContentRepository; }