예제 #1
0
        public IActionResult RemoveBoat(string id)
        {
            if (id.Contains(","))
            {
                foreach (var item in id.Split(','))
                {
                    BusinessUser.Remove(Convert.ToInt32(item));
                }
            }
            else
            {
                BusinessUser.Remove(Convert.ToInt32(id));
            }

            return(Json("ok"));
        }