示例#1
0
 public bool RemoveStoreManager(int storeId, string managerName)
 {
     if (!loggedIn)
     {
         notLoggedInException();
     }
     return(UserService.RemoveStoreManager(user, storeId, managerName));
 }
示例#2
0
        public string RemoveStoreManager(int storeId, string managerName)
        {
            if (!loggedIn)
            {
                return(notLoggedInError());
            }
            bool ret;

            try
            {
                ret = UserService.RemoveStoreManager(user, storeId, managerName);
                return(resultJson(ret));
            }
            catch (Exception e)
            {
                return(generateMessageFormatJason(e.Message));
            }
        }