예제 #1
0
    public static SectionLabel GetSectionLabelByID(int id)
    {
        SectionLabel            sectionLabel            = new SectionLabel();
        SqlSectionLabelProvider sqlSectionLabelProvider = new SqlSectionLabelProvider();

        sectionLabel = sqlSectionLabelProvider.GetSectionLabelByID(id);
        return(sectionLabel);
    }
예제 #2
0
    public static List <SectionLabel> GetAllSectionLabels()
    {
        List <SectionLabel>     sectionLabels           = new List <SectionLabel>();
        SqlSectionLabelProvider sqlSectionLabelProvider = new SqlSectionLabelProvider();

        sectionLabels = sqlSectionLabelProvider.GetAllSectionLabels();
        return(sectionLabels);
    }
예제 #3
0
    public static bool DeleteSectionLabel(int sectionLabelID)
    {
        SqlSectionLabelProvider sqlSectionLabelProvider = new SqlSectionLabelProvider();

        return(sqlSectionLabelProvider.DeleteSectionLabel(sectionLabelID));
    }
예제 #4
0
    public static bool UpdateSectionLabel(SectionLabel sectionLabel)
    {
        SqlSectionLabelProvider sqlSectionLabelProvider = new SqlSectionLabelProvider();

        return(sqlSectionLabelProvider.UpdateSectionLabel(sectionLabel));
    }
예제 #5
0
    public static int InsertSectionLabel(SectionLabel sectionLabel)
    {
        SqlSectionLabelProvider sqlSectionLabelProvider = new SqlSectionLabelProvider();

        return(sqlSectionLabelProvider.InsertSectionLabel(sectionLabel));
    }