public async Task <IActionResult> Delete(string Ids) { int Id; if (int.TryParse(Ids, out Id)) { await _service.DeleteRound(Id); return(Ok()); } else { return(StatusCode(400)); } }