Skip to content

Instantly share code, notes, and snippets.

@vasily-kirichenko
Created April 16, 2017 09:21
Show Gist options
  • Save vasily-kirichenko/319bfd83469e99659a77734327144e89 to your computer and use it in GitHub Desktop.
Save vasily-kirichenko/319bfd83469e99659a77734327144e89 to your computer and use it in GitHub Desktop.
type RequestController(client: IRequestClient<CheckOrderStatus, OrderStatusResult>) =
inherit Controller()
member __.Get(id: string) =
async {
let! result = client.Request { OrderId = id }
return View(result)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment