part of the extensibility works now

This commit is contained in:
2020-05-22 21:19:49 +02:00
parent 410bfcc95c
commit 897b801cd4
19 changed files with 310 additions and 221 deletions
+3 -1
View File
@@ -13,6 +13,7 @@ using zero.Web.Models;
namespace zero.Web.Controllers
{
[ZeroAuthorize, CanEdit, AddToken]
[BackofficeGenericController]
public abstract class BackofficeController : Controller
{
IMapper _mapper;
@@ -42,7 +43,8 @@ namespace zero.Web.Controllers
{
return Json(new EditModel<T>()
{
Entity = data
Entity = data,
CanEdit = true
});
}