Поправил routes у справок

This commit is contained in:
parent 50a53fb1e4
commit f8c9626a06

View File

@ -77,7 +77,6 @@ public class HelpPageController : ControllerBase
/// <param name="cancellationToken">Токен для отмены задачи</param>
/// <returns></returns>
[HttpGet]
[Route("{urlPage}/{idCategory}")]
[ProducesResponseType(typeof(PhysicalFileResult), (int)HttpStatusCode.OK)]
[ProducesResponseType(StatusCodes.Status204NoContent)]
public async Task<IActionResult> GetFileAsync(
@ -108,7 +107,7 @@ public class HelpPageController : ControllerBase
/// <param name="cancellationToken"></param>
/// <returns></returns>
[HttpGet]
[Route("isExisting/{urlPage}/{idCategory}")]
[Route("isExisting")]
[ProducesResponseType(typeof(bool), (int)HttpStatusCode.OK)]
public async Task<IActionResult> IsExistingAsync(
[Required] string urlPage,