public IActionResult AddStudentType([FromBody] StudentType studentType) { try { var result = _studentBusiness.AddStudentType(studentType); return(Ok(result)); } catch (Exception ex) { return(BadRequest(ex)); } }