thank you
thank you very much for your advice :D
can you please explain the problem and solution in more details because i have the same problem so when i need to send email i use simple email method
no its inside RoleAppService.cs in GetRoleForEdit Method
var blockedPermissionsAppService = new BlockedPermissionsAppService(new BlockedPermissionsRepository());
var lst = blockedPermissionsAppService.GetList();
var permissions = PermissionManager.GetAllPermissions().Where(w => lst.All(a => a.Name != w.Name));
Hello Oliver please note that by default sending emails are disabled in debug mode
you can enable it yourself , you can find code repsponsible for that in ProjectCore Solution at ProjectCoreModule.cs
if (DebugHelper.IsDebug)
{
//Disabling email sending in debug mode
IocManager.Register<IEmailSender, NullEmailSender>(DependencyLifeStyle.Transient);
}
hope that help , good luck
thank you very much for your advice .. actually i admire you and impressed with amount of perfect work done in aspnetzero and really enjoy using it and looking for more from you
back again to my question .. i need to learn more so consider that i need to use my code above to retrieve data from database , how can i accomplish that using dependency injection , can you correct my mistakes and write the write code to learn the proper way :)
actually the both
hi , i appreciate your concern .. but as you know i have problem with mastering the structure of the dependency injection , so i wondering of you have time to provide me with code that help in my case
thank you
thank you :)
ok , can you please refer me to the code responsible for retrieving data for permission tree maybe i can filter it in some way