Пример #1
0
        public IHttpActionResult GetAllMessageToUser(UserMessageRelModel model)
        {
            UserApi    api       = new UserApi();
            var        userApi   = api.GetUserInfoByToken();
            string     GetUserID = userApi.Data.UserId;
            MessageBLL msg       = new MessageBLL();
            var        get       = msg.GetAllMessageToUser(model, GetUserID);

            return(InspurJson <List <RetUserMessageRel> >(get));
        }