예제 #1
0
 public ActionResult <TemperatureData> GetTemperatureF()
 {
     return(new TemperatureData
     {
         Temperature = temperatureService.GetTemperatureFahreinheit(),
         Unit = "°F"
     });
 }