Example #1
0
 public async Task <ActionResult <IEnumerable <WeatherForecastApiModel> > > Get(CancellationToken ct = default)
 {
     try
     {
         return(new ObjectResult(await _BlazorSupervisor.GetAllWeatherForecastAsync(ct)));
     }
     catch (Exception ex)
     {
         return(StatusCode(500, ex));
     }
 }