public static List <usp_GetSectionThreads_Result> GetSectionPosts(int sectionId) { try { using (SmacEntities context = new SmacEntities()) { return(context.usp_GetSectionThreads(sectionId).ToList()); } } catch (Exception ex) { throw ex; } }