apply sorting ...
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
using System;
|
||||
using System.Threading;
|
||||
using xTagService.Interfaces;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using xContentService.Models.Dtos;
|
||||
using xContentService.Providers.Dtos;
|
||||
using xContentService.Models.Entities;
|
||||
@@ -8,6 +11,18 @@ namespace xContentService.Interfaces.Controllers
|
||||
{
|
||||
public interface IXContentProviderController : IXBaseProvidedHasTagController<XContent, XContentDto, Guid, XContentDtoHub>
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Add an item ...
|
||||
/// </summary>
|
||||
/// <param name="item"></param>
|
||||
/// <param name="language"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("Add")]
|
||||
Task<ActionResult<XContentDto>> Add(
|
||||
[FromBody] XContentDto item,
|
||||
[FromQuery] string language = null,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using xPushService.Interfaces;
|
||||
using xContentService.Models.Dtos;
|
||||
using xContentService.Models.Entities;
|
||||
using xPushService.Interfaces;
|
||||
|
||||
namespace xContentService.Interfaces.Dtos
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using xContentService.Models.Dtos;
|
||||
using xContentService.Models.Entities;
|
||||
using xContentService.Providers.Dtos;
|
||||
using xPushService.Interfaces;
|
||||
using xContentService.Models.Dtos;
|
||||
using xContentService.Providers.Dtos;
|
||||
using xContentService.Models.Entities;
|
||||
|
||||
namespace xContentService.Interfaces.Dtos
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
using xContentService.Models.Entities;
|
||||
using xPushService.Interfaces;
|
||||
using xContentService.Models.Entities;
|
||||
|
||||
namespace xContentService.Interfaces.Entities
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
using xContentService.Models.Entities;
|
||||
using xDataService.Interfaces;
|
||||
using xContentService.Models.Entities;
|
||||
|
||||
namespace xContentService.Interfaces.Entities
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
using xContentService.Models.Entities;
|
||||
using xDataService.Interfaces;
|
||||
using xContentService.Models.Entities;
|
||||
|
||||
namespace xContentService.Interfaces.Entities
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
using xContentService.Models.Entities;
|
||||
using xDataService.Interfaces;
|
||||
using xContentService.Models.Entities;
|
||||
|
||||
namespace xContentService.Interfaces.Entities
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using xContentService.Models.Entities;
|
||||
using xDataService.Interfaces;
|
||||
using xContentService.Models.Entities;
|
||||
|
||||
namespace xContentService.Interfaces.Entities
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using xPushService.Interfaces;
|
||||
using xContentService.Models.Entities;
|
||||
using xContentService.Providers.Entities;
|
||||
using xPushService.Interfaces;
|
||||
|
||||
namespace xContentService.Interfaces.Entities
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
using xContentService.Models.Entities;
|
||||
using xDataService.Interfaces;
|
||||
using xContentService.Models.Entities;
|
||||
|
||||
namespace xContentService.Interfaces.Entities
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user