Method Ok
Ok()
Creates a new Alternet.Common.Result for successful action.
public static Result Ok()
Returns
- Result
New
Alternet.Common.Resultobject.
Ok<T>(T)
Creates a new Alternet.Common.Result for successful action.
public static Result<T> Ok<T>(T value)
Parameters
valueTAn object that is result of the executed action.
Returns
- Result<T>
New
Alternet.Common.Resultobject.
Type Parameters
TType of object related to the action.