示例#1
0
        public bool RemoveOtherApprovalList(int storeID)
        {
            List <string> users;

            if (NeedToApprove.TryGetValue(storeID, out users))
            {
                return(NeedToApprove.Remove(storeID));
            }
            return(false);
        }
示例#2
0
        //Get Function that Added
        public List <string> getAllThatNeedToApprove(int storeID)
        {
            List <string> users;

            if (!NeedToApprove.TryGetValue(storeID, out users))
            {
                users = new List <string>();
            }
            return(users);
        }
示例#3
0
        //Waiting for Approval List functions to become Store Owner
        public void InsertOtherApprovalRequest(int storeID, List <string> user)
        {
            List <string> users;

            if (NeedToApprove.TryGetValue(storeID, out users))
            {
                return;
            }
            NeedToApprove.Add(storeID, user);
        }