public async Task ExecuteResult(Controller controller)
 {
     await ContentResultProvider.GetResult(Content, "application/json", StatusCode)
     .ExecuteResult(controller);
 }
Exemple #2
0
 public async Task ExecuteResult(Controller controller)
 {
     var content = JsonConvert.SerializeObject(Content);
     await JsonContentResultProvider.GetResult(content, StatusCode)
     .ExecuteResult(controller);
 }