public IActionResult DeleteSkill(Guid id) { if (string.IsNullOrWhiteSpace(id.ToString())) { return(BadRequest("Incorrect Parameter")); } bool check = _skillLogic.DeleteSkill(id); if (!check) { return(BadRequest("Delete Error")); } return(Ok("Delete Skill Success")); }