public async Task <IActionResult> Delete(int id) { try { await _JenisTindakan.Delete(id); return(Ok("Data berhasil didelete")); } catch (Exception ex) { return(BadRequest(ex.Message)); } }