start destructuring ZeroVue class

This commit is contained in:
2021-12-03 15:49:34 +01:00
parent b0c958ffb3
commit 3ad9714618
15 changed files with 264 additions and 84 deletions
@@ -0,0 +1,17 @@
using Microsoft.AspNetCore.Mvc;
using zero.Api.Filters;
using zero.Backoffice.Services;
using zero.Identity.Models;
namespace zero.Backoffice;
[ZeroSystemApi]
[ZeroAuthorize(false)]
public class DebugController : ZeroBackofficeController
{
[HttpGet("icons")]
public async Task<ActionResult> GetIcons([FromServices] IIconRepository icons)
{
return Ok(await icons.GetSets());
}
}