public IActionResult Get(int id) { var entity = _bookBusiness.FindbyId(id); if (entity == null) { return(NotFound()); } return(Ok(entity)); }
public IActionResult Get(int id) { var entity = _bookBusiness.FindbyId(id); if (entity == null) { return(NotFound()); } return(Ok(entity)); }