This commit is contained in:
2025-05-04 22:11:28 +08:00
parent 09afa239a6
commit b7eb0f9a68
69 changed files with 344 additions and 178 deletions

View File

@@ -2,12 +2,12 @@
{
public static class BlogResultExtensions
{
public static IResult BlogView(this IResultExtensions result, string theme, string viewName)
public static Microsoft.AspNetCore.Http.IResult BlogView(this IResultExtensions result, string theme, string viewName)
{
return new BlogViewResult(theme, viewName);
}
public static IResult BlogView(this IResultExtensions result, string theme, string viewName, object model)
public static Microsoft.AspNetCore.Http.IResult BlogView(this IResultExtensions result, string theme, string viewName, object model)
{
return new BlogViewResult(theme, viewName, model);
}

View File

@@ -1,6 +1,6 @@
namespace Yes.Infrastructure.ViewEngine
{
public class BlogViewResult : IResult
public class BlogViewResult : Microsoft.AspNetCore.Http.IResult
{
private readonly string _theme;
private readonly string _viewName;