0
daniel hussy created
Hi,
I read the documentation about module zero and i tried to make this in my web module:
Configuration.Modules.Zero().RoleManagement.StaticRoles.Add(new StaticRoleDefinition("Admin", MultiTenancySides.Tenant));
...but inside Configuration.Modules there isn't "Zero()" method. What am I doing wrong? Pls. help!
1 Answer(s)
-
0
Hi,
It's extension method. Add this to your code:
using Abp.Zero.Configuration;
Have a nice day.