public Book GetByISBN(string isbn) { var rows = _sqlManager.GetRows("BooksDb", "exec uspGetBookByISBN", CreateStringParam(isbn)); // convert rows into book object(s) return(books.FirstOrDefault()); }
public Book GetByISBN(string isbn) { var rows = _sqlManager.GetRows("BooksDb", "exec uspGetBookByISBN", CreateStringParam(isbn)); // convert rows into book object(s) return(books.FirstOrDefault()); }