示例#1
0
        public ReturnModel Delete(int id)
        {
            var db = new BaseRespository <S_User>();

            return(new ReturnModel {
                d = db.Remove(Get(id).d as S_User), s = true, m = "数据删除成功"
            });
        }
示例#2
0
        public ReturnModel Delete(int id)
        {
            var userdb = new BaseRespository <S_User>();

            return(new ReturnModel {
                d = userdb.Remove(Get(id).d as S_User)
            });
        }