mirror of https://github.com/abpframework/abp.git
8 changed files with 12 additions and 51 deletions
@ -1,17 +0,0 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp.Domain.Services; |
|||
using Volo.CmsKit.Blogs; |
|||
|
|||
namespace Volo.CmsKit.Blogs |
|||
{ |
|||
public interface IBlogFeatureManager : IDomainService |
|||
{ |
|||
Task<List<BlogFeature>> GetListAsync(Guid blogId); |
|||
|
|||
Task SetAsync(Guid blogId, string featureName, bool isEnabled); |
|||
} |
|||
} |
|||
@ -1,22 +0,0 @@ |
|||
using JetBrains.Annotations; |
|||
using System; |
|||
using System.Threading.Tasks; |
|||
using Volo.CmsKit.Users; |
|||
|
|||
namespace Volo.CmsKit.Blogs |
|||
{ |
|||
public interface IBlogPostManager |
|||
{ |
|||
Task<BlogPost> CreateAsync( |
|||
[NotNull] CmsUser author, |
|||
[NotNull] Blog blog, |
|||
[NotNull] string title, |
|||
[NotNull] string slug, |
|||
[CanBeNull] string shortDescription = null, |
|||
[CanBeNull] Guid? tenantId = null); |
|||
|
|||
Task UpdateAsync(BlogPost blogPost); |
|||
|
|||
Task SetSlugUrlAsync(BlogPost blogPost, [NotNull] string newSlug); |
|||
} |
|||
} |
|||
Loading…
Reference in new issue