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