13 references to OkResult
BasicWebSite (1)
Controllers\TempDataPropertyController.cs (1)
49
return new
OkResult
();
Microsoft.AspNetCore.Mvc.Core (1)
ControllerBase.cs (1)
309
=> new
OkResult
();
Microsoft.AspNetCore.Mvc.Core.Test (9)
ActionResultOfTTest.cs (2)
26
var actionResult = new
OkResult
();
48
var expected = new
OkResult
();
ApplicationModels\InferParameterBindingInfoConventionTest.cs (2)
1000
public IActionResult RequiredComplexType(TestModel model) => new
OkResult
();
1003
public IActionResult NullableComplexType(TestModel? model) => new
OkResult
();
HttpOkResultTest.cs (2)
19
var result = new
OkResult
();
33
var result = new
OkResult
();
Infrastructure\ActionMethodExecutorTest.cs (1)
500
public Task<object> ReturnIActionResultAsObjectAsync() => Task.FromResult((object)new
OkResult
());
Infrastructure\ControllerActionInvokerProviderTest.cs (1)
94
public IActionResult GetAction() => new
OkResult
();
Infrastructure\ModelStateInvalidFilterTest.cs (1)
24
var expected = new
OkResult
();
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\HandleOptionsRequestsPageFilter.cs (1)
43
context.Result = new
OkResult
();
RazorPagesWebSite (1)
Pages\PropertyBinding\BindFormFile.cshtml.cs (1)
40
return new
OkResult
();