Пример #1
0
 public async Task <IActionResult> GetArticlesAsync()
 {
     return(Content(JsonConvert.SerializeObject(await service.ArticlesAsync()), "application/json", Encoding.UTF8));
 }