Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'main/tests/test-projects/fsharp-aspnetcoremvc11/aspnetcoremvc11/Controllers/HomeController.fs')
-rw-r--r--main/tests/test-projects/fsharp-aspnetcoremvc11/aspnetcoremvc11/Controllers/HomeController.fs21
1 files changed, 21 insertions, 0 deletions
diff --git a/main/tests/test-projects/fsharp-aspnetcoremvc11/aspnetcoremvc11/Controllers/HomeController.fs b/main/tests/test-projects/fsharp-aspnetcoremvc11/aspnetcoremvc11/Controllers/HomeController.fs
new file mode 100644
index 0000000000..a405882fda
--- /dev/null
+++ b/main/tests/test-projects/fsharp-aspnetcoremvc11/aspnetcoremvc11/Controllers/HomeController.fs
@@ -0,0 +1,21 @@
+namespace aspnetcoremvc11.Controllers
+
+open System
+open System.Collections.Generic
+open System.Linq
+open System.Threading.Tasks
+open Microsoft.AspNetCore.Mvc
+
+type HomeController() =
+ inherit Controller()
+ member this.Index() = this.View()
+
+ member this.About() =
+ this.ViewData.["Message"] <- "Your application description page."
+ this.View()
+
+ member this.Contact() =
+ this.ViewData.["Message"] <- "Your contact page."
+ this.View()
+
+ member this.Error() = this.View()