C# Class BeiDream.Demo.Service.Resources.ResourceService

Inheritance: IResourceService
Mostrar archivo Open project: BeiMeng/BeiDream

Public Methods

Method Description
AddorUpdate ( ResourceDto dto ) : void
DeleteTree ( System.Guid id ) : void
ResourceService ( IResourceDomainService resourceDomainService, IResourceRepository resourceRepository ) : System

Private Methods

Method Description
Find ( System.Guid id ) : ResourceDto
GetNavigationMenuInModule ( System.Guid parentId, System.Guid userId ) : List
GetNavigationModule ( System.Guid userId ) : List
GetQueryConditions ( IQueryable queryable, BeiDream.Demo.Domain.Queries.ResourceQuery query ) : IQueryable

构造前台传递的查询条件

PagerList ( BeiDream.Demo.Domain.Queries.ResourceQuery query ) : PagerList
Query ( BeiDream.Demo.Domain.Queries.ResourceQuery query ) : PagerList
Query ( BeiDream.Demo.Domain.Queries.ResourceQuery query, System.Guid roleId ) : PagerList
QueryAll ( ) : List
QueryAll ( System.Guid roleId ) : List

Method Details

AddorUpdate() public method

public AddorUpdate ( ResourceDto dto ) : void
dto BeiDream.Demo.Service.Resources.Dtos.ResourceDto
return void

DeleteTree() public method

public DeleteTree ( System.Guid id ) : void
id System.Guid
return void

ResourceService() public method

public ResourceService ( IResourceDomainService resourceDomainService, IResourceRepository resourceRepository ) : System
resourceDomainService IResourceDomainService
resourceRepository IResourceRepository
return System