public static SectionLabel GetSectionLabelByID(int id) { SectionLabel sectionLabel = new SectionLabel(); SqlSectionLabelProvider sqlSectionLabelProvider = new SqlSectionLabelProvider(); sectionLabel = sqlSectionLabelProvider.GetSectionLabelByID(id); return(sectionLabel); }
public static List <SectionLabel> GetAllSectionLabels() { List <SectionLabel> sectionLabels = new List <SectionLabel>(); SqlSectionLabelProvider sqlSectionLabelProvider = new SqlSectionLabelProvider(); sectionLabels = sqlSectionLabelProvider.GetAllSectionLabels(); return(sectionLabels); }
public static bool DeleteSectionLabel(int sectionLabelID) { SqlSectionLabelProvider sqlSectionLabelProvider = new SqlSectionLabelProvider(); return(sqlSectionLabelProvider.DeleteSectionLabel(sectionLabelID)); }
public static bool UpdateSectionLabel(SectionLabel sectionLabel) { SqlSectionLabelProvider sqlSectionLabelProvider = new SqlSectionLabelProvider(); return(sqlSectionLabelProvider.UpdateSectionLabel(sectionLabel)); }
public static int InsertSectionLabel(SectionLabel sectionLabel) { SqlSectionLabelProvider sqlSectionLabelProvider = new SqlSectionLabelProvider(); return(sqlSectionLabelProvider.InsertSectionLabel(sectionLabel)); }