public ResourceService(IIdGenerator idGenerator, IRepository <AppResourceEntity> resourceRepository, IKeyedIdGenerate keyedIdGenerate, IMapper mapper, INumberConvert numberConvert, IRoleResourceDomainService roleResourceDomainService) { this._idGenerator = idGenerator; this._resourceRepository = resourceRepository; this._keyedIdGenerate = keyedIdGenerate; this._mapper = mapper; this._numberConvert = numberConvert; this._roleResourceDomainService = roleResourceDomainService; }
/// <summary>Initializes a new instance of the <see cref="T:System.Object"></see> class.</summary> public UserResourceDomainService(IUserRoleRelationRepository userRoleRel, IRepository <UserResourceRelation> userResourceRel, IRepository <AppResourceEntity> resourceRepository, IRoleResourceDomainService roleResourceDomainService, IMapper mapper, IIdGenerator idGenerator, IRepository <ApplicationEntity> appRepository) { this._userRoleRel = userRoleRel; this._userResourceRel = userResourceRel; this._resourceRepository = resourceRepository; this._roleResourceDomainService = roleResourceDomainService; this._mapper = mapper; this._idGenerator = idGenerator; this._appRepository = appRepository; }