Beispiel #1
0
 public void Init(ILoadMessage view, bool Ispoback)
 {
     _view = view;
     if (_userSession.CurrentUser != null)
     {
         _view.LoadMessages(_messageRepository.GetMessagesByAccountID(_userSession.CurrentUser.AccountID,
                                                                      _webContext.PageNumber,
                                                                      (MessageFolders)_webContext.FolderID));
     }
 }
Beispiel #2
0
        public void Init(ILoadMessage view,bool Ispoback)
        {
            _view = view;
            if (_userSession.CurrentUser != null)
            {
                    _view.LoadMessages(_messageRepository.GetMessagesByAccountID(_userSession.CurrentUser.AccountID,
                                                                                 _webContext.PageNumber,
                                                                                 (MessageFolders)_webContext.FolderID));

            }
        }