fix to f# controller
This commit is contained in:
parent
6743364423
commit
14f590829c
|
|
@ -22,7 +22,7 @@ type WeatherController () =
|
|||
inherit ControllerBase()
|
||||
|
||||
[<HttpGet>]
|
||||
member this.Get(location:string, unit: string) =
|
||||
member this.Get(location:string, unit: TemperatureUnit) =
|
||||
let rnd = System.Random()
|
||||
let result:WeatherResult = {
|
||||
Location = location;
|
||||
|
|
|
|||
Loading…
Reference in New Issue