make page api + controller non-generic and allow saving of modules, yay!

This commit is contained in:
2020-08-27 14:22:13 +02:00
parent 805dc67507
commit 673d8f8af9
10 changed files with 166 additions and 72 deletions
+3 -3
View File
@@ -5,11 +5,11 @@ using zero.Core.Entities;
namespace zero.Web.Controllers
{
public class PageTreeController<T> : BackofficeController where T : IPage
public class PageTreeController : BackofficeController
{
IPageTreeApi<T> Api;
IPageTreeApi Api;
public PageTreeController(IPageTreeApi<T> api)
public PageTreeController(IPageTreeApi api)
{
Api = api;
}