public static Response AsErrorResponse(this IResponseFormatter source, ErrorResponse error, string redirectUri)
 {
     return(source.AsRedirect(string.Concat(redirectUri, error.AsQueryString())));
 }
 public static Response AsErrorResponse(this IResponseFormatter source, ErrorResponse error, string redirectUri)
 {
     return source.AsRedirect(string.Concat(redirectUri, error.AsQueryString()));
 }