Example #1
0
 public async Task <IEnumerable <Locale> > GetLocales([FromServices] ILocalizationProvider localizationProvider)
 {
     return(await localizationProvider.GetLocalesAsync());
 }