public IActionResult DeleteStream([FromBody] Stream stream) { try { var result = false; result = _classBusiness.DeleteStream(stream.Id); return(Ok(result)); } catch (Exception ex) { return(BadRequest(ex)); } }