Ejemplo n.º 1
0
 public async Task OnGetAsync(int id, [FromServices] NewService newsService)
 {
     SpecificNews = await newsService.GetSpecificNewsAsync(id);
 }