last ...
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using xDataService.Models;
|
||||
using xModels.Base;
|
||||
|
||||
namespace xIdentityService.Interfaces
|
||||
@@ -58,6 +60,20 @@ namespace xIdentityService.Interfaces
|
||||
[FromQuery] object forProvidedId,
|
||||
[FromQuery] int forIndex = 0,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// Retrieve References of Specified Itemfor providedFor ...
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <param name="providedFor"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("{id}/References")]
|
||||
Task<ActionResult<IEnumerable<XReference<string>>>> GetReferences(
|
||||
[FromRoute] TKey id,
|
||||
[FromQuery] string providedFor,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user