public static List <StoreManagersAppoint> ConvertStoresUserManaging(User user)
        {
            List <StoreManagersAppoint> StoresUserIsManaging = new List <StoreManagersAppoint>();

            if (user.IsListNotEmpty(CommonStr.UserListsOptions.ManageStores))
            {
                Dictionary <int, string> AllManagingStores = user.Store_Managment;
                //Dictionary<int, User> AllManagerAppointers = user.AppointedByManager;
                foreach (int storeNum in AllManagingStores.Keys)
                {
                    StoreManagersAppoint managingData = new StoreManagersAppoint(AllManagingStores[storeNum], user.getUserName(), storeNum);
                    StoresUserIsManaging.Add(managingData);
                }
            }
            return(StoresUserIsManaging);
        }
        public static StoreManagersAppoint GetManagerNote(string appointer, string appointed, int storeID)
        {
            StoreManagersAppoint s = new StoreManagersAppoint(appointer, appointed, storeID);

            return(DbManager.Instance.GetManagerAppoint(s));
        }