mirror of https://github.com/abpframework/abp.git
5 changed files with 7 additions and 40 deletions
@ -1,33 +0,0 @@ |
|||
using JetBrains.Annotations; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Threading; |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp.Domain.Services; |
|||
using Volo.CmsKit.Tags; |
|||
|
|||
namespace Volo.CmsKit.Tags |
|||
{ |
|||
public interface ITagManager : IDomainService |
|||
{ |
|||
Task<Tag> InsertAsync( |
|||
Guid id, |
|||
[NotNull] string entityType, |
|||
[NotNull] string name, |
|||
Guid? tenantId = null, |
|||
CancellationToken cancellationToken = default); |
|||
|
|||
Task<Tag> UpdateAsync( |
|||
Guid id, |
|||
[NotNull] string name, |
|||
CancellationToken cancellationToken = default); |
|||
|
|||
Task<Tag> GetOrAddAsync( |
|||
[NotNull] string entityType, |
|||
[NotNull] string name, |
|||
Guid? tenantId = null, |
|||
CancellationToken cancellationToken = default); |
|||
|
|||
Task<List<TagEntityTypeDefiniton>> GetTagDefinitionsAsync(CancellationToken cancellationToken = default); |
|||
} |
|||
} |
|||
Loading…
Reference in new issue