Class DistrictAppService
Inheritance
AbstractKeyReadOnlyAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto>
AbstractKeyCrudAppService<District, DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>
AbstractKeyCrudAppService<District, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>
DistrictAppService
Implements
Inherited Members
Namespace: Volo.Abp.TestApp.Application
Assembly: Volo.Abp.TestApp.dll
Syntax
public class DistrictAppService : AbstractKeyCrudAppService<District, DistrictDto, DistrictKey>, IAvoidDuplicateCrossCuttingConcerns, IValidationEnabled, IUnitOfWorkEnabled, IAuditingEnabled, IGlobalFeatureCheckingEnabled, ITransientDependency, ICrudAppService<DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto, DistrictDto, DistrictDto>, IReadOnlyAppService<DistrictDto, DistrictDto, DistrictKey, PagedAndSortedResultRequestDto>, ICreateUpdateAppService<DistrictDto, DistrictKey, DistrictDto, DistrictDto>, ICreateAppService<DistrictDto, DistrictDto>, IUpdateAppService<DistrictDto, DistrictKey, DistrictDto>, IDeleteAppService<DistrictKey>, IApplicationService, IRemoteService
Constructors
DistrictAppService(IRepository<District>)
Declaration
public DistrictAppService(IRepository<District> repository)
Parameters
Type | Name | Description |
---|---|---|
IRepository<District> | repository |
Methods
DeleteByIdAsync(DistrictKey)
Declaration
protected override Task DeleteByIdAsync(DistrictKey id)
Parameters
Type | Name | Description |
---|---|---|
DistrictKey | id |
Returns
Type | Description |
---|---|
Task |
Overrides
GetEntityByIdAsync(DistrictKey)
Declaration
protected override Task<District> GetEntityByIdAsync(DistrictKey id)
Parameters
Type | Name | Description |
---|---|---|
DistrictKey | id |
Returns
Type | Description |
---|---|
Task<District> |