Update WeatherForecast controller (#28506)
parent
7f79fea71d
commit
2063ecf747
|
@ -219,6 +219,7 @@ The WeatherForecast controller (`Controllers/WeatherForecastController.cs`) expo
|
|||
[Authorize]
|
||||
[ApiController]
|
||||
[Route("[controller]")]
|
||||
[RequiredScope(RequiredScopesConfigurationKey = "AzureAd:Scopes")]
|
||||
public class WeatherForecastController : ControllerBase
|
||||
{
|
||||
[HttpGet]
|
||||
|
@ -627,6 +628,7 @@ The WeatherForecast controller (`Controllers/WeatherForecastController.cs`) expo
|
|||
[Authorize]
|
||||
[ApiController]
|
||||
[Route("[controller]")]
|
||||
[RequiredScope(RequiredScopesConfigurationKey = "AzureAd:Scopes")]
|
||||
public class WeatherForecastController : ControllerBase
|
||||
{
|
||||
[HttpGet]
|
||||
|
|
Loading…
Reference in New Issue