public HomeController(IUserService userService, ILastChatService lastChatService, IMessageService messageService) { _userService = userService; _lastChatService = lastChatService; _messageService = messageService; loginUser = Models.Help.loginUser.getLoginUser(); }
public messageController(ILastChatService lastChatService, IContactService contactService, IMessageService messageService, IUserService userService) { _lastChatService = lastChatService; _contactService = contactService; _messageService = messageService; _userService = userService; loginUser = Models.Help.loginUser.getLoginUser(); }