мини-правка

This commit is contained in:
Olga Nemt 2023-06-21 11:51:16 +05:00
parent 9254c5cb66
commit cfbb384060

View File

@ -69,7 +69,7 @@ namespace AsbCloudWebApi.Controllers
/// <returns></returns>
[HttpPost("api/well/{idWell}/contactType/{contactTypeId}")]
[Permission]
[ProducesResponseType(typeof(IEnumerable<UserDto>), (int)System.Net.HttpStatusCode.OK)]
[ProducesResponseType(typeof(int), (int)System.Net.HttpStatusCode.OK)]
public async Task<IActionResult> UpdateRangeAsync(
[Range(1, int.MaxValue, ErrorMessage = "Id скважины не может быть меньше 1")] int idWell,
[Range(1, int.MaxValue, ErrorMessage = "Id типа контакта не может быть меньше 1")] int contactTypeId,