コード例 #1
0
 public static Response AsErrorResponse(this IResponseFormatter source, ErrorResponse error, string redirectUri)
 {
     return source.AsRedirect(string.Concat(redirectUri, error.AsQueryString()));
 }
コード例 #2
0
 public static Response ThenRedirectTo(this IResponseFormatter response, string viewName)
 {
     return response.AsRedirect(viewName);
 }