public ActionResult <List <School> > Get() { var schools = _services.GetAllSchools(); if (schools.Count == 0) { return(NotFound("No schools to show !!!")); } return(Ok(schools)); }
public ActionResult <List <School> > Get() { var schools = _services.GetAllSchools(); if (schools.Count == 0) { return(NotFound("No schools to show !!!")); } return(Ok(schools)); }