Beispiel #1
0
        public static string GetChannelDefault(string username)
        {
            KKSlmMsBranchModel branch = new KKSlmMsBranchModel();

            return(branch.GetChannelStaffData(username));
        }
Beispiel #2
0
        public static List <ControlListData> GetBranchListByAccessRight(int flag, string campaignId)
        {
            KKSlmMsBranchModel branch = new KKSlmMsBranchModel();

            return(branch.GetBranchAccessRightList(flag, campaignId));
        }
Beispiel #3
0
        public static bool CheckBranchAccessRightExist(int flag, string campaignId, string branchcode)
        {
            KKSlmMsBranchModel branch = new KKSlmMsBranchModel();

            return(branch.CheckBranchAccessRightExist(flag, campaignId, branchcode));
        }
Beispiel #4
0
        public static List <ControlListData> GetBranchData()
        {
            KKSlmMsBranchModel branch = new KKSlmMsBranchModel();

            return(branch.GetBranchData());
        }
Beispiel #5
0
        public static bool CheckEmployeeInBranch(string branchCode)
        {
            KKSlmMsBranchModel branch = new KKSlmMsBranchModel();

            return(branch.CheckEmployeeInBranch(branchCode));
        }
Beispiel #6
0
        public static List <ControlListData> GetMonitoringBranchList(int flag, string username)
        {
            KKSlmMsBranchModel branch = new KKSlmMsBranchModel();

            return(branch.GetMonitoringBranchList(flag, username));
        }
Beispiel #7
0
        public static void UpdateData(string branchCode, string branchName, string startTimeHour, string startTimeMin, string endTimeHour, string endTimeMin, string channelId, bool isActive, string updateby)
        {
            KKSlmMsBranchModel branch = new KKSlmMsBranchModel();

            branch.UpdateData(branchCode, branchName, startTimeHour, startTimeMin, endTimeHour, endTimeMin, channelId, isActive, updateby);
        }
Beispiel #8
0
        public static BranchData GetBranch(string branchCode)
        {
            KKSlmMsBranchModel branch = new KKSlmMsBranchModel();

            return(branch.GetBranch(branchCode));
        }
Beispiel #9
0
        public static List <BranchData> SearchBranch(string branchCode, string branchName, string channelId, bool statusActive, bool statusInActive)
        {
            KKSlmMsBranchModel branch = new KKSlmMsBranchModel();

            return(branch.SearchBranch(branchCode, branchName, channelId, statusActive, statusInActive));
        }
Beispiel #10
0
        public static List <ControlListData> GetBranchList(int flag, string[] branchcode)
        {
            KKSlmMsBranchModel branch = new KKSlmMsBranchModel();

            return(branch.GetBranchList(flag));
        }
Beispiel #11
0
        /// <summary>
        /// GetBranchListByRole
        /// </summary>
        /// <param name="flag">Flag 1=Active Branch, 2=Inactive Branch, 3=All</param>
        /// <param name="staffTypeId"></param>
        /// <returns></returns>
        public static List <ControlListData> GetBranchListByRole(int flag, string staffTypeId)
        {
            KKSlmMsBranchModel branch = new KKSlmMsBranchModel();

            return(branch.GetBranchListByRole(flag, staffTypeId));
        }
Beispiel #12
0
        public static bool CheckBranchActive(string branchCode)
        {
            KKSlmMsBranchModel branch = new KKSlmMsBranchModel();

            return(branch.CheckBranchActive(branchCode));
        }
Beispiel #13
0
        public static string GetBranchName(string branchCode)
        {
            KKSlmMsBranchModel branch = new KKSlmMsBranchModel();

            return(branch.GetBranchName(branchCode));
        }