Example #1
0
        public static List <TeachersListByCategory> TeachersList(object parameter)
        {
            //string SP = GetSP("TeachersList");
            //return CommonExcute<TeachersListByCategory>.GeneralList(SP, parameter);

            return(GeneralExe <TeachersListByCategory> .myListOfT("TeachersList", parameter));
        }
Example #2
0
        private static List <NvListItem> ListDataSource(string JsonSource, string ddlType, List2Item parameter)
        {
            List <NvListItem> myListData;

            if (JsonSource == "")
            {
                parameter.Operate = ddlType;
                //  string SP = CommonExcute.SPNameAndParameters(JsonSource, "General", "DDList");
                //   myListData = CommonListExecute<NVListItem>.GeneralList(SP, parameter);
                //  myListData = CommonExcute<NVListItem>.GeneralList(SP, parameter);

                myListData = GeneralExe.DDListNV(parameter);
            }
            else
            {
                myListData = JsonFileReader.GetNvList(JsonSource, ddlType);
            }
            return(myListData);
        }
Example #3
0
        private static string GetSpNameInClass(string page, string action)
        {
            switch (page)
            {
            case "Request":
                return(RequestPostingExe.SPName(action));

            case "Approve":
                return(PostingPositionExe.SPName(action));

            case "Publish":
                return(PublishPositionExe.SpName(action));

            case "Candidate":
                return(SelectCandidateExe.SPName(action));

            case "Hiring":
                return(ConfirmHireExe.SPName(action));

            case "Hired":
                return(HiredPositionExe.SPName(action));

            case "Interview":
                return(InterviewProcessExe.SPName(action));

            case "Applying":
                return(ApplyProcessExe.SPName(action));

            case "MultipleSchools":
                return(MultipleSchoolsExe.SPName(action));

            case "Staff":
                return(LTOStaffManageExe.SPName(action));

            case "Summary":
                return(PostingSummaryExe.SPName(action));

            default:
                return(GeneralExe.SPName(action));
            }
        }
Example #4
0
 public static string TeacherName(object parameter)
 {
     //string SP = GetSP("TeacherName");
     //return CommonExcute<string>.GeneralValue(SP, parameter);
     return(GeneralExe.TeacherName(parameter));
 }
Example #5
0
        public static void SetListSchool(System.Web.UI.WebControls.ListControl myListControl1, System.Web.UI.WebControls.ListControl myListControl2, string ddlType, List2Item parameter)
        {
            List <ListSchool> myListData = GeneralExe.SchoolList(parameter); // CommonListExecute.GetSchoolListData(parameter);

            AssemblingSchoolList(myListControl1, myListControl2, myListData);
        }