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()); }
public IActionResult DeleteUser(int id) { _itemBusiness.Delete(id); return(Ok()); }