public IHttpActionResult GetBooks() { var booksRecrods = _booksDbContext.GetBooks(); if (booksRecrods == null) { return(NotFound()); } else { return(Ok(booksRecrods)); } }