public IActionResult Get(int id, bool includeBooks = false) { var publisher = _rep.GetPublisher(id, includeBooks); if (publisher == null) { return(NotFound()); } return(Ok(publisher)); }
public IActionResult Get(int id, bool includeBooks = false) { var publisher = _rep.GetPublisher(id, includeBooks); if (publisher == null) { return(NotFound()); } return(Ok(publisher)); }