//新增
        public int Add(JObject json)
        {
            StudentProjectInfo studentProjectInfo = JsonConvert.DeserializeObject <StudentProjectInfo>(json.ToString());

            db.Insert(studentProjectInfo);
            return(1);
        }
Beispiel #2
0
        //新增
        public int Add(JObject json)
        {
            UserInfo userInfo = JsonConvert.DeserializeObject <UserInfo>(json.ToString());

            db.Insert(userInfo);
            return(1);
        }
Beispiel #3
0
        //新增
        public int Add(JObject json)
        {
            NoticeInfo noticeInfo = JsonConvert.DeserializeObject <NoticeInfo>(json.ToString());

            db.Insert(noticeInfo);
            return(1);
        }
Beispiel #4
0
        //新增
        public int Add(JObject json)
        {
            ProjectInfo projectInfo = JsonConvert.DeserializeObject <ProjectInfo>(json.ToString());

            db.Insert(projectInfo);
            return(1);
        }
Beispiel #5
0
        //新增
        public int Add(JObject json)
        {
            SignInfo signInfo = JsonConvert.DeserializeObject <SignInfo>(json.ToString());

            db.Insert(signInfo);
            return(1);
        }