# Microsoft.AspNetCore.Mvc

``` diff
 namespace Microsoft.AspNetCore.Mvc {
     public abstract class ControllerBase {
+        public ProblemDetailsFactory ProblemDetailsFactory { get; set; }
+        public virtual ObjectResult Problem(string detail = null, string instance = null, Nullable<int> statusCode = default(Nullable<int>), string title = null, string type = null);
+        public virtual ActionResult ValidationProblem(string detail = null, string instance = null, Nullable<int> statusCode = default(Nullable<int>), string title = null, string type = null, ModelStateDictionary modelStateDictionary = null);
     }
 }
```

