Skip to content

Commit

Permalink
Add missing reference in sample
Browse files Browse the repository at this point in the history
  • Loading branch information
congysu committed Oct 9, 2014
1 parent 2d59d27 commit b5082d8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
// OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Web.Http;
using System.Web.OData;
Expand All @@ -38,7 +39,7 @@ private NorthwindContext DbContext
}
}

// OData Attibute Routing
// OData Attribute Routing
[ODataRoute("Customers({key})/CompanyName")]
[ODataRoute("Customers({key})/CompanyName/$value")]
public string GetCustomerCompanyName([FromODataUri]string key)
Expand Down

0 comments on commit b5082d8

Please sign in to comment.