restore, delete and purge recycled entities

This commit is contained in:
2020-08-27 11:41:40 +02:00
parent 02f4024c24
commit a71c78ebaa
12 changed files with 167 additions and 104 deletions
+11 -1
View File
@@ -7,6 +7,7 @@ using System.Linq;
using System.Threading.Tasks;
using zero.Core.Api;
using zero.Core.Entities;
using zero.Core.Extensions;
using zero.Core.Utils;
namespace zero.Debug.Controllers
@@ -65,7 +66,16 @@ namespace zero.Debug.Controllers
}
[HttpGet]
public IActionResult Clone([FromServices] IRecycledEntity blueprint)
{
IRecycledEntity entity = blueprint.Clone();
return Json(entity);
}
[HttpGet]
public IActionResult Routes()