trying facades for specified APIs

This commit is contained in:
2020-05-24 19:05:59 +02:00
parent 8cd27ac955
commit 335e7b407a
3 changed files with 31 additions and 0 deletions
+7
View File
@@ -45,6 +45,13 @@ namespace zero.Debug.Controllers
}
[HttpGet]
public async Task<IActionResult> GetTranslations([FromServices] ITranslationsApiFacade api)
{
return Json(await api.As<Translation>().GetAll());
}
[HttpGet]
public IActionResult Things([FromServices] IValidator<Application> appValidator)
{