コード例 #1
0
        public ActionResult ReadMember(string text, int skip = 0, int take = 10)
        {
            var x     = new Models.Member.Member();
            var total = 0;
            var data  = x.ReadMember(text, skip, take, ref total);

            return(Content(JsonConvert.SerializeObject(new { data, total }), "application/json"));
        }
コード例 #2
0
        public ActionResult CreateBy(int?user_id)
        {
            var data = new Models.Member.Member().CreateBy(user_id);

            return(Content(JsonConvert.SerializeObject(data), "application/json"));
        }