Esempio n. 1
0
 public static List <section> GetSections()
 {
     using (var context = new SlackerNewsEntities())
     {
         return(context.sections.OrderBy(t => t.display_order).ToList());
     }
 }