public Result(ResultMessage resultMessage) { ResultMessages = new List <ResultMessage> { resultMessage }; }
public static Result Fail(ResultMessage resultMessage) { return(new Result(resultMessage)); }
public static Result <T> Fail <T>(ResultMessage resultMessage) { return(new Result <T>(resultMessage, default)); }