Base solution for your next web application

Activities of "ismcagdas"


I suggest you to not call an app service from another app service first :), because it's a bad practice.

I assume that, you have defined an entity with name "BlockedPermission", added it to your dbcontext, generate required migration and update the database.

Then, you can directly use IRepository<BlockedPermission> in the roleAppService. Just inject this into roleAppService like this.

private readonly RoleManager _roleManager;
private readonly IRepository<BlockedPermission> _blockedPermissionsRepository;

public RoleAppService(RoleManager roleManager, 
	IRepository<BlockedPermission> blockedPermissionsRepository)
	_roleManager = roleManager;
	_blockedPermissionsRepository = blockedPermissionsRepository;

Then in your app service, just get data using _blockedPermissionsRepository .


Did you update jquery nuget packages ? Because, it seems those files are not currently in the project file.

<a class="postlink" href=""> ... Web.csproj</a>


You can use savechanges of current unit of work if your code runs in an app service or abp controller.



Where do you call your final code lines ?

var blockedPermissionsAppService = new BlockedPermissionsAppService(new BlockedPermissionsRepository());
var lst = blockedPermissionsAppService.GetList();

is it in an mvc controller ?

Hi drenton,

You are invited on github. You can check this issue for the solution <a class="postlink" href=""></a>.



You dont have to duplicate your modals. Just give their full path to modal manager.

See below example;

new app.ModalManager({
	viewUrl: abp.appPath + 'Mpa/OrganizationUnits/CreateModal',
	scriptUrl: abp.appPath + 'Areas/Mpa/Views/OrganizationUnits/_CreateModal.js',
	modalClass: 'CreateOrganizationUnitModal'


As far as I know, most people do it manually by hand.

I'm sure that there are tools for bootstrap layout design, but it's hard to find one for metronic. Since metronic is based on bootstrap layout, such tools might give you a starting point for your screen layout. I found this one for example <a class="postlink" href=""></a>.

For my opinion, it's better to learn bootstrap and do the pages by hand.


Please follow the discussion here <a class="postlink" href=""> ... issues/980</a>


It's in the RoleAppService application service's GetRoleForEdit method. See it here <a class="postlink" href=""> ... Service.cs</a>

var permissions = PermissionManager.GetAllPermissions();


We are actually working on similar issues,

<a class="postlink" href=""> ... issues/936</a> <a class="postlink" href=""></a>.

It will be in the next release ABP & Zero as well.

Showing 12541 to 12550 of 12626 entries