add requirements in Content Service ...
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using xTagService.Interfaces;
|
||||
using xContentService.Models.Dtos;
|
||||
using xContentService.Providers.Dtos;
|
||||
using xContentService.Models.Entities;
|
||||
|
||||
namespace xContentService.Interfaces.Controllers
|
||||
{
|
||||
public interface IXContentProviderController : IXBaseProvidedHasTagController<XContent, XContentDto, Guid, XContentDtoHub>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,31 @@
|
||||
using System;
|
||||
using System.Threading;
|
||||
using xTagService.Interfaces;
|
||||
using System.Threading.Tasks;
|
||||
using xIdentityModels.Models;
|
||||
using xContentService.Models.Dtos;
|
||||
using xContentService.Providers.Dtos;
|
||||
using xContentService.Models.Entities;
|
||||
|
||||
namespace xContentService.Interfaces
|
||||
{
|
||||
public interface IXContentProvider
|
||||
public interface IXContentProvider : IXBaseProvidedHasTag<XContent, XContentDto, Guid, XContentDtoHub>
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Add an item values ...
|
||||
/// </summary>
|
||||
/// <param name="item"></param>
|
||||
/// <param name="userInfo"></param>
|
||||
/// <param name="connectionId"></param>
|
||||
/// <param name="language"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
public Task<XContentDto> Add(
|
||||
XContentDto item,
|
||||
XUserClaimsInfoDto userInfo = null,
|
||||
string connectionId = null,
|
||||
string language = null,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user