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