/// <summary>
        /// Post提交一个Roles对象
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        public bool Post([FromBody] dynamic obj)
        {
            // {
            //    "id": 1,
            //    "serial": "aa",
            //    "name": "tom",
            //    "price": 100,
            //    "uid": 10
            //}
            Roles      entity     = (obj.model as JObject).ToObject <Roles>();
            string     menuIds    = obj.menuIds;
            RolesBLL   bll        = new RolesBLL();
            List <int> listMenuId = string.IsNullOrWhiteSpace(menuIds) ? new List <int>() : menuIds.Split(',').Select(x => int.Parse(x)).ToList();

            return(bll.Save(entity, listMenuId));
        }