Anjali Khan

Anjali Khan

  • NA
  • 867
  • 214.6k

what is this I followed link means which is table ,index,con

Sep 9 2016 7:53 AM
Hi frnds
 
I soo confused in the bellow code
  1. public ActionResult Index()
  2. {
  3.     NWDataContext db = new NWDataContext();
  4.     List<Product> products = db.Products
  5.        .OrderByDescending(x=>x.ProductId)
  6.        .ToList<Product>();
  7.     return View(products);
  8. }
 
please suggest me here is define multiple time product
what is this I followed link means which is table ,index,controller
http://www.advancesharp.com/blog/1093/mvc-insert-update-delete-and-select-records
 

Answers (1)