public GroupMessageController() { groupChatRepository = new GroupChatRepository(dataContext); groupRepository = new GroupRepository(dataContext); userRepository = new UserRepository(dataContext); groupMessageRepository = new GroupMessageRepository(dataContext); }
public ViewController() { groupChatRepository = new GroupChatRepository(dataContext); chatRepository = new ChatRepository(dataContext); viewRepository = new ViewRepository(dataContext); userRepository = new UserRepository(dataContext); }
public GroupController() { groupRepository = new GroupRepository(dataContext); userRepository = new UserRepository(dataContext); codeRepository = new ActivationCodeRepository(dataContext); groupChatRepository = new GroupChatRepository(dataContext); }
public BaseController(MessageStackContext messageStackContext) { _accountRepository = new AccountRepository(messageStackContext); _contactRepository = new ContactRepository(messageStackContext); _groupChatRepository = new GroupChatRepository(messageStackContext); _groupMessageRepository = new GroupMessageRepository(messageStackContext); _privateChatRepository = new PrivateChatRepository(messageStackContext); _privateMessageRepository = new PrivateMessageRepository(messageStackContext); }