示例#1
0
 public ResourceService(IResourceRepository repo, IResourceActionRepository resourceActionRepo, IResourceAttributeRepository attributeRepo, IQueryOperatorRepository queryOperatorRepo)
 {
     _repo = repo;
     _resourceActionRepo = resourceActionRepo;
     _attributeRepo      = attributeRepo;
     _queryOperatorRepo  = queryOperatorRepo;
 }
示例#2
0
 public ResourceAttributeService(IResourceAttributeRepository attributeRepo)
 {
     _attributeRepo = attributeRepo;
 }