2using System.Threading.Tasks;
4using Microsoft.AspNetCore.Mvc;
25 ValueTask<IActionResult>
Invoke(
ApiController controller, Func<TAuthority, ValueTask<AuthorityResponse>> authorityInvoker);
36 where TResult : TApiModel
37 where TApiModel : notnull;
49 where TApiModel : notnull;
Represents a response from an authority.
Base Controller for API functions.
Business logic for interating with the server.
Invokes TAuthority methods and generates IActionResult responses.
ValueTask< IActionResult > InvokeTransformable< TResult, TApiModel >(ApiController controller, Func< TAuthority, ValueTask< AuthorityResponse< TResult > > > authorityInvoker)
Invoke a TAuthority method and get the result.
ValueTask< IActionResult > Invoke< TResult, TApiModel >(ApiController controller, Func< TAuthority, ValueTask< AuthorityResponse< TResult > > > authorityInvoker)
Invoke a TAuthority method and get the result.
ValueTask< IActionResult > Invoke(ApiController controller, Func< TAuthority, ValueTask< AuthorityResponse > > authorityInvoker)
Invoke a TAuthority method with no success result.