public IActionResult AddClassSection([FromBody] ClassSection classSection) { try { var result = false; result = _classBusiness.AddClassSection(classSection); return(Ok(result)); } catch (Exception ex) { return(BadRequest(ex)); } }
public IActionResult AddClassSection([FromBody] ClassSection classSection) { try { var result = false; result = _classBusiness.AddClassSection(classSection); return(Ok(result)); } catch (Exception ex) { return(BadRequest(ex)); } }