Created
February 12, 2014 17:57
-
-
Save JogoShugh/8960965 to your computer and use it in GitHub Desktop.
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
namespace VersionOne.Arena.Module.ManageBacklog | |
open System.Reflection | |
[<assembly: AssemblyVersion("1.0.0.0")>] | |
[<assembly: AssemblyFileVersion("1.0.0.0")>] | |
do() | |
open VersionOne.Arena.Intrastructure.Web | |
type ManageBacklogController() = | |
inherit System.Web.Mvc.Controller() | |
member this.Index() = this.View() | |
type public ManageBacklogModule() = | |
inherit DefaultModule<ManageBacklogController>() | |
override this.GetBaseControllerRoute() = "ManageBacklog" | |
namespace VersionOne.Arena.Module.ManageBacklog.Api | |
open System.Web.Http | |
type ApiController() = | |
inherit System.Web.Http.ApiController() | |
member this.Get () = "We got it! Here's your messages!" | |
[<HttpGet>] | |
member this.ByName name = "Thanks! Here's your name: " + name | |
[<HttpGet>] | |
member this.Version () = "Version A" | |
[<HttpGet>] | |
member this.EndPoints () = | |
let items = [|"Get"; "ByName"; "Version"|] | |
this.Json(items) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment