public object SetShopManager(bool enable) { if (enable) { ShopBranchApplication.EnableManager(CurrentShopBranch.Id); } else { ShopBranchApplication.DisableManger(CurrentShopBranch.Id); } return(new { success = true }); }