forked from ddrilling/AsbCloudServer
Поправлено возвращаемое значение из методов контроллера
This commit is contained in:
parent
d7c80c0d5c
commit
653722b1dd
@ -152,10 +152,9 @@ public abstract class ProcessMapBaseController<T> : ControllerBase
|
|||||||
/// <param name="cancellationToken"></param>
|
/// <param name="cancellationToken"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
[ProducesResponseType(typeof(ValidationResultDto<>), StatusCodes.Status200OK)]
|
|
||||||
[ProducesResponseType(StatusCodes.Status204NoContent)]
|
[ProducesResponseType(StatusCodes.Status204NoContent)]
|
||||||
[ProducesResponseType(StatusCodes.Status403Forbidden)]
|
[ProducesResponseType(StatusCodes.Status403Forbidden)]
|
||||||
public async Task<ActionResult<ValidationResultDto<T>>> GetAsync(int idWell, CancellationToken cancellationToken)
|
public async Task<ActionResult<IEnumerable<ValidationResultDto<T>>>> GetAsync(int idWell, CancellationToken cancellationToken)
|
||||||
{
|
{
|
||||||
var processMaps = await service.GetAsync(idWell, cancellationToken);
|
var processMaps = await service.GetAsync(idWell, cancellationToken);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user