Result/ResultSuccess/Result.cs
/// <summary>
/// Error result with error messages.
/// </summary>
/// <param name="generalErrorMessage">General error message.</param>
/// <param name="detailErrorMessages">Detail error messages.</param>
/// <returns>Error result.</returns>
Error result with error messages.
Error result with error messages .
public static Result Error(string generalErrorMessage, params string[] detailErrorMessages)
    {
        Error error = Errors.Error.CreateError(generalErrorMessage, detailErrorMessages);
        return new Result { ErrorObj = error };
    }
public static Result Error ( string generalErrorMessage , params string [ ] detailErrorMessages ) { Error error = Errors . Error . CreateError ( generalErrorMessage , detailErrorMessages ) ; return new Result { ErrorObj = error } ; }
Error result with error messages.
Error result with error messages .
None
generalErrorMessage
string
General error message.
General error message .
detailErrorMessages
Detail error messages.
Detail error messages .