-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setting up conventional routing + adding an AboutController with two …
…actions
- Loading branch information
Showing
4 changed files
with
59 additions
and
6 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
OdeToFoodRider/OdeToFoodRider/Controllers/AboutController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace OdeToFoodRider.Controllers | ||
{ | ||
public class AboutController | ||
{ | ||
public string Phone() | ||
{ | ||
return "1+555+555+5555"; | ||
} | ||
|
||
public string Address() | ||
{ | ||
return "USA"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
OdeToFoodVisualStudio/OdeToFoodVisualStudio/Controllers/AboutController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
|
||
namespace OdeToFoodVisualStudio.Controllers | ||
{ | ||
public class AboutController | ||
{ | ||
public string Phone() | ||
{ | ||
return "1+555+555+5555"; | ||
} | ||
|
||
public string Address() | ||
{ | ||
return "USA"; | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters