示例#1
0
        public void Put(int id, [FromBody] course co)
        {
            var ret = courses.Where(c => c.id == id).FirstOrDefault();

            ret.title = co.title;
        }