public IActionResult AddClassStream([FromBody] ClassStream classStream) { try { var result = false; result = _classBusiness.AddClassStream(classStream); return(Ok(result)); } catch (Exception ex) { return(BadRequest(ex)); } }
public IActionResult AddClassStream([FromBody] ClassStream classStream) { try { var result = false; result = _classBusiness.AddClassStream(classStream); return(Ok(result)); } catch (Exception ex) { return(BadRequest(ex)); } }