public static IEnumerable<CodeTable> GetAll() { using (var context = new ATSCEEntities()) { return context.CodeTables.ToList(); } }