Готов Wizard
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 12s

This commit is contained in:
2026-07-14 17:45:41 +03:00
parent 2883b537ab
commit fa9fd1e06a
11 changed files with 88 additions and 59 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ public class DeviceController : ControllerBase
[HttpGet("GetDeviceById")]
[ProducesResponseType<DeviceItem>(StatusCodes.Status200OK)]
[ProducesResponseType(StatusCodes.Status204NoContent)]
public IActionResult GetById(int id) // Получить устройство по id
public IActionResult GetById(Guid id) // Получить устройство по id
{
using (var db = new SQLiteService())
{
@@ -69,7 +69,7 @@ public class DeviceController : ControllerBase
#region DELETE
[HttpDelete("DelDevice")]
public IActionResult DelDevice(int id) //Удалить устройство по id
public IActionResult DelDevice(Guid id) //Удалить устройство по id
{
using (var db = new SQLiteService())
{