using Bunny.Dao.Models.System; using Bunny.Dao.Result; namespace Bunny.Service.IService; public interface IBlogService { /// /// 添加Blog /// /// void AddBlog(Blog dto); /// /// 查询BLog /// /// List QueryBlog(); /// /// 更新Blog内容 /// /// void UpdateBlog(Blog dto); /// /// 删除BLog /// /// void DeleteBlog(string id); /// /// 批量添加数据 /// /// void AddBatchBlogs(string url); /// /// 批量删除BLog /// void DeleteBatchBlogs(); /// /// 批量更新_带事务 /// void UseTransaction(); /// /// 分页查询 /// /// /// PageResult QueryPage(int page, int limit); }