Exemple #1
0
        public PartialViewResult getChatnewById(int UserId, int maxid, int aid)
        {
            chatServices _chat  = new Database.chatServices();
            chatModel    _model = new Models.chatModel();

            _model = _chat.getChatByContactId(UserId, aid, maxid);
            return(PartialView("GetNewChat", _model));
        }
Exemple #2
0
        public PartialViewResult getChatById(int UserId, int aid)
        {
            chatServices _chat  = new Database.chatServices();
            chatModel    _model = new Models.chatModel();

            _model     = _chat.getChatByContactId(UserId, aid);
            _model.aId = aid;
            return(PartialView("getChatById", _model));
        }