Info
Version: | 1.0.0 |
Author(s): | Filippov V. |
Last Update: | Thursday, November 12, 2020 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/ControllerResult |
Install
Install-Package ControllerResult
dotnet add package ControllerResult
paket add ControllerResult
ControllerResult Download (Unzip the "nupkg" after downloading)
Dependencies
- MediatR(>= 9.0.0)
- Microsoft.AspNetCore.Mvc.Abstractions(>= 2.2.0)
- Newtonsoft.Json(>= 12.0.3)
This library lets getting custom asynchronous return for your controller's method.
The result depends on your own logic and object which you inject to the DefaultDataResult will be returned in JSON type.
v.1.0.0 - Mediatr DI & 1 Generic type can be injected.