public ActionResult <School> Post(School school) { var newSchool = _services.AddSchool(school); if (newSchool == null) { return(NotFound("Error, when adding data !!!")); } return(Ok(newSchool)); }
public ActionResult <School> Post(School school) { var newSchool = _services.AddSchool(school); if (newSchool == null) { return(NotFound("Error, when adding data !!!")); } return(Ok(newSchool)); }