public bool RemoveStoreManager(int storeId, string managerName) { if (!loggedIn) { notLoggedInException(); } return(UserService.RemoveStoreManager(user, storeId, managerName)); }
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)); } }