C# Class BeiDream.Demo.Domain.DomainServices.Impl.RoleDomainService

Inheritance: IRoleDomainService
Exibir arquivo Open project: BeiMeng/BeiDream

Public Methods

Method Description
RoleDomainService ( IRoleRepository roleRepository, IPermissionRepository permissionRepository ) : System
SetPermissions ( System.Guid roleId, List resourceIds ) : void

Method Details

RoleDomainService() public method

public RoleDomainService ( IRoleRepository roleRepository, IPermissionRepository permissionRepository ) : System
roleRepository IRoleRepository
permissionRepository IPermissionRepository
return System

SetPermissions() public method

public SetPermissions ( System.Guid roleId, List resourceIds ) : void
roleId System.Guid
resourceIds List
return void