public static AccountResult <T> Unsuccessful <T>(T data, params string[] errors) { var baseResult = Unsuccessful(errors); return(AccountResult <T> .Parse(baseResult, data, baseResult.Errors)); }
public static AccountResult <T> Successful <T>(T data) { var result = Successful(); return(AccountResult <T> .Parse(result, data, new List <string>())); }