Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 4th, 2012  |  syntax: C#  |  size: 0.30 KB  |  views: 70  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.         //
  2.         // GET: /Fix/Summary/
  3.  
  4.         [ChildActionOnly]
  5.         public ActionResult Summary() {
  6.  
  7.            
  8.             var fixes = db.Fixes.Include(f => f.Currency).Include(f => f.Metal).Where(c => c.Currency.Code == "GBP");
  9.             return PartialView(fixes.ToList());
  10.         }
clone this paste RAW Paste Data