Ejemplo n.º 1
0
    public static StringBuilder GetSection(Dictionary <string, object> _infoLogin, string _section, string _sectionAction, string _id)
    {
        StringBuilder _html = new StringBuilder();

        switch (_section)
        {
        case "MAIN":
            _html = SectionMainUI.GetMain();
            break;

        case "SEARCH":
            _html = SectionSearchUI.GetMain();
            break;

        case "EDIT":
            _html = SectionAddUpdateUI.SectionEditUI.GetMain(_sectionAction, _id);
            break;
        }

        return(_html);
    }
    public static StringBuilder GetSection(Dictionary <string, object> _infoLogin, string _section, string _sectionAction, string _id)
    {
        StringBuilder _html = new StringBuilder();

        switch (_section)
        {
        case "MAIN":
            _html = SectionMainUI.GetMain(_infoLogin);
            break;

        case "SEARCH":
            _html = SectionSearchUI.GetMain();
            break;

        case "PROGRESSDOWNLOAD":
            _html = HCSStaffUI.GetFrmProgressDownloadData(HCSStaffUtil.PAGE_DOWNLOADREGISTRATIONFORM_PROGRESS, _idSectionProgress);
            break;
        }

        return(_html);
    }