Ejemplo n.º 1
0
 public ApiException(Problem problem)
 {
     Problem = problem;
 }
		private static async Task ExecuteProblemResultAsync(HttpContext context, Problem problem)
		{
			var result = new ProblemResult(problem);
			var actionContext = new ActionContext(context, null, null);
			await result.ExecuteResultAsync(actionContext);
		}