Class DistrictAppService
Inheritance
object
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
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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 |
|---|---|
| System.Threading.Tasks.Task |
Overrides
Volo.Abp.Application.Services.AbstractKeyCrudAppService<Volo.Abp.TestApp.Domain.District, Volo.Abp.TestApp.Application.Dto.DistrictDto, Volo.Abp.TestApp.Application.Dto.DistrictDto, Volo.Abp.TestApp.Application.DistrictKey, Volo.Abp.Application.Dtos.PagedAndSortedResultRequestDto, Volo.Abp.TestApp.Application.Dto.DistrictDto, Volo.Abp.TestApp.Application.Dto.DistrictDto>.DeleteByIdAsync(Volo.Abp.TestApp.Application.DistrictKey)
GetEntityByIdAsync(DistrictKey)
Declaration
protected override Task<District> GetEntityByIdAsync(DistrictKey id)
Parameters
| Type | Name | Description |
|---|---|---|
| DistrictKey | id |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<TResult><District> |
Overrides
Volo.Abp.Application.Services.AbstractKeyReadOnlyAppService<Volo.Abp.TestApp.Domain.District, Volo.Abp.TestApp.Application.Dto.DistrictDto, Volo.Abp.TestApp.Application.Dto.DistrictDto, Volo.Abp.TestApp.Application.DistrictKey, Volo.Abp.Application.Dtos.PagedAndSortedResultRequestDto>.GetEntityByIdAsync(Volo.Abp.TestApp.Application.DistrictKey)