网站首页 网站源码
website
站点相关全部源代码,隐藏了一些关于服务器的信息
using System.Threading.Tasks;
using Dpz.Core.Web.Dashboard.Helper;
using Dpz.Core.Web.Dashboard.Models;

namespace Dpz.Core.Web.Dashboard.Service
{
    public interface IDynamicPageService
    {
        Task<IPagedList<DynamicPageModel>> GetPageAsync(string name = null, int pageIndex = 1, int pageSize = 10);

        Task<DynamicPageModel> GetDynamicPageAsync(string id);

        Task<bool> ExistsAsync(string id);

        Task CreateDynamicPage(string id, string htmlContent);
        
        Task EditDynamicPage(string id, string htmlContent);

        Task DeleteAsync(string id);
    }
}
loading