This commit is contained in:
@@ -29,7 +29,7 @@ public class ObjectController : ControllerBase
|
||||
[HttpGet("GetObjectById")]
|
||||
[ProducesResponseType<ObjectItem>(StatusCodes.Status200OK)]
|
||||
[ProducesResponseType(StatusCodes.Status204NoContent)]
|
||||
public IActionResult GetById(int id)
|
||||
public IActionResult GetById(Guid id)
|
||||
{
|
||||
using (var db = new SQLiteService())
|
||||
{
|
||||
@@ -69,7 +69,7 @@ public class ObjectController : ControllerBase
|
||||
|
||||
//========================= DELETE ====================================//
|
||||
[HttpDelete("DelObject")]
|
||||
public IActionResult DelObject(int id)
|
||||
public IActionResult DelObject(Guid id)
|
||||
{
|
||||
using (var db = new SQLiteService())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user