Skip to content

Commit

Permalink
Playing with attribute routes
Browse files Browse the repository at this point in the history
  • Loading branch information
gorohoroh committed Jul 3, 2018
1 parent 3f4f74f commit 2373c1b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions OdeToFoodRider/OdeToFoodRider/Controllers/AboutController.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
using Microsoft.AspNetCore.Mvc;

namespace OdeToFoodRider.Controllers
{

[Route("company/[controller]/[action]")]
public class AboutController
{
public string Phone()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;

namespace OdeToFoodVisualStudio.Controllers
{
// about
[Route("company/[controller]/[action]")]
public class AboutController
{
public string Phone()
Expand Down

0 comments on commit 2373c1b

Please sign in to comment.