We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In ProductsController (bug introduced in Chapter 4, section 2)
var vm = new ProductsListViewModel { Products = **products**.Select(x => new ProductViewModel { MSRP = x.MSRP, Name = x.Name, Price = x.Price, SKU = x.SKU, Rating = ratings.FirstOrDefault(y => x.SKU == y.SKU), }) };
should be
var vm = new ProductListViewModel { Products = **model**.Select(x => new ProductViewModel { MSRP = x.MSRP, Name = x.Name, Price = x.Price, SKU = x.SKU, Rating = ratings.FirstOrDefault(y => x.SKU == y.SKU) }) }
In AllowPartialRenderingAttribute (bug introduced in Chapter 5, Section 1) if (request == null) return;
if (request == null) return;
if (result== null) return;
Was going through your course and noticed these two errors. Haven't finished it yet but thanks for the excellent course.
The text was updated successfully, but these errors were encountered:
Will get that fixed ASAP. Thanks for taking the time to let me know and help other folks! Glad you're enjoying the course!
Sorry, something went wrong.
No branches or pull requests
In ProductsController (bug introduced in Chapter 4, section 2)
var vm = new ProductsListViewModel { Products = **products**.Select(x => new ProductViewModel { MSRP = x.MSRP, Name = x.Name, Price = x.Price, SKU = x.SKU, Rating = ratings.FirstOrDefault(y => x.SKU == y.SKU), }) };
should be
var vm = new ProductListViewModel { Products = **model**.Select(x => new ProductViewModel { MSRP = x.MSRP, Name = x.Name, Price = x.Price, SKU = x.SKU, Rating = ratings.FirstOrDefault(y => x.SKU == y.SKU) }) }
In AllowPartialRenderingAttribute (bug introduced in Chapter 5, Section 1)
if (request == null) return;
should be
if (result== null) return;
Was going through your course and noticed these two errors. Haven't finished it yet but thanks for the excellent course.
The text was updated successfully, but these errors were encountered: