forked from ddrilling/AsbCloudServer
#6539681 Файловый репозиторий
This commit is contained in:
parent
863749cfe1
commit
ead3e860ba
@ -236,7 +236,7 @@ namespace AsbCloudWebApi.Controllers
|
|||||||
[HttpGet]
|
[HttpGet]
|
||||||
[Route("/api/files/{idFile}")]
|
[Route("/api/files/{idFile}")]
|
||||||
[Permission]
|
[Permission]
|
||||||
[ProducesResponseType(typeof(PhysicalFileResult), (int)System.Net.HttpStatusCode.OK)]
|
[ProducesResponseType(typeof(FileInfoDto), (int)System.Net.HttpStatusCode.OK)]
|
||||||
public async Task<IActionResult> GetFileInfoByIdAsync([FromRoute] int idFile, CancellationToken token = default)
|
public async Task<IActionResult> GetFileInfoByIdAsync([FromRoute] int idFile, CancellationToken token = default)
|
||||||
{
|
{
|
||||||
int? idCompany = User.GetCompanyId();
|
int? idCompany = User.GetCompanyId();
|
||||||
|
Loading…
Reference in New Issue
Block a user