예제 #1
0
        public object Get(string id, string shopId, bool auth)
        {
            ShopHandler s = new ShopHandler();

            if (string.IsNullOrEmpty(shopId))
            {
                return(s.GetUsersShops(id)); //特定のユーザーに紐付く書店一覧を返す
            }
            else
            {
                return(s.GetShop(shopId)); //特定の書店の情報を返す
            }
        }