예제 #1
0
        public IActionResult DeleteChuDe([FromBody] Dictionary <string, object> formData)
        {
            string machude = "";

            if (formData.Keys.Contains("machude") && !string.IsNullOrEmpty(Convert.ToString(formData["machude"])))
            {
                machude = Convert.ToString(formData["machude"]);
            }
            _ChuDeBusiness.Delete(machude);
            return(Ok());
        }
예제 #2
0
 public IActionResult DeleteUser(int id)
 {
     _itemBusiness.Delete(id);
     return(Ok());
 }