add requirements in Content Service ...

This commit is contained in:
2026-09-05 10:24:19 +03:30
parent 903703dca0
commit 5739b968aa
10 changed files with 953 additions and 5 deletions
@@ -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>
{
}
}
+26 -2
View File
@@ -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
);
}
}