aspnetcore/test/WebSites/InlineConstraintsWebSite/Controllers/StoreController.cs

22 lines
658 B
C#

// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Mvc;
using System;
using System.Collections.Generic;
namespace InlineConstraintsWebSite.Controllers
{
public class InlineConstraints_StoreController : Controller
{
public IDictionary<string, object> GetStoreById(Guid id)
{
return ActionContext.RouteData.Values;
}
public IDictionary<string, object> GetStoreByLocation(string location)
{
return ActionContext.RouteData.Values;
}
}
}