Show / Hide Table of Contents

Class FaqSectionAdminAppService

Inheritance
object
ApplicationService
CmsKitProAdminAppService
FaqSectionAdminAppService
Implements
IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
IFaqSectionAdminAppService
ICrudAppService<FaqSectionDto, FaqSectionWithQuestionCountDto, Guid, FaqSectionListFilterDto, CreateFaqSectionDto, UpdateFaqSectionDto>
IReadOnlyAppService<FaqSectionDto, FaqSectionWithQuestionCountDto, Guid, FaqSectionListFilterDto>
ICreateUpdateAppService<FaqSectionDto, Guid, CreateFaqSectionDto, UpdateFaqSectionDto>
ICreateAppService<FaqSectionDto, CreateFaqSectionDto>
IUpdateAppService<FaqSectionDto, Guid, UpdateFaqSectionDto>
IDeleteAppService<Guid>
IApplicationService
IRemoteService
Inherited Members
ApplicationService.CheckPolicyAsync(string)
ApplicationService.CreateLocalizer()
ApplicationService.LazyServiceProvider
ApplicationService.ServiceProvider
ApplicationService.CommonPostfixes
ApplicationService.AppliedCrossCuttingConcerns
ApplicationService.UnitOfWorkManager
ApplicationService.AsyncExecuter
ApplicationService.ObjectMapperContext
ApplicationService.ObjectMapper
ApplicationService.GuidGenerator
ApplicationService.LoggerFactory
ApplicationService.CurrentTenant
ApplicationService.DataFilter
ApplicationService.CurrentUser
ApplicationService.SettingProvider
ApplicationService.Clock
ApplicationService.AuthorizationService
ApplicationService.FeatureChecker
ApplicationService.StringLocalizerFactory
ApplicationService.L
ApplicationService.LocalizationResource
ApplicationService.CurrentUnitOfWork
ApplicationService.Logger
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.CmsKit.Admin.Faqs
Assembly: Volo.CmsKit.Pro.Admin.Application.dll
Syntax
[RequiresFeature(new string[] { "CmsKitPro.FaqEnable" })]
[RequiresGlobalFeature("CmsKitPro.Faq")]
[Authorize("CmsKit.Faq")]
public class FaqSectionAdminAppService : CmsKitProAdminAppService, IAvoidDuplicateCrossCuttingConcerns, IValidationEnabled, IUnitOfWorkEnabled, IAuditingEnabled, IGlobalFeatureCheckingEnabled, ITransientDependency, IFaqSectionAdminAppService, ICrudAppService<FaqSectionDto, FaqSectionWithQuestionCountDto, Guid, FaqSectionListFilterDto, CreateFaqSectionDto, UpdateFaqSectionDto>, IReadOnlyAppService<FaqSectionDto, FaqSectionWithQuestionCountDto, Guid, FaqSectionListFilterDto>, ICreateUpdateAppService<FaqSectionDto, Guid, CreateFaqSectionDto, UpdateFaqSectionDto>, ICreateAppService<FaqSectionDto, CreateFaqSectionDto>, IUpdateAppService<FaqSectionDto, Guid, UpdateFaqSectionDto>, IDeleteAppService<Guid>, IApplicationService, IRemoteService

Constructors

FaqSectionAdminAppService(IFaqSectionRepository, FaqSectionManager, IOptions<FaqOptions>)

Declaration
public FaqSectionAdminAppService(IFaqSectionRepository faqSectionRepository, FaqSectionManager faqSectionManager, IOptions<FaqOptions> options)
Parameters
Type Name Description
IFaqSectionRepository faqSectionRepository
FaqSectionManager faqSectionManager
IOptions<FaqOptions> options

Properties

FaqOptions

Declaration
protected FaqOptions FaqOptions { get; }
Property Value
Type Description
FaqOptions

FaqSectionManager

Declaration
protected FaqSectionManager FaqSectionManager { get; }
Property Value
Type Description
FaqSectionManager

FaqSectionRepository

Declaration
protected IFaqSectionRepository FaqSectionRepository { get; }
Property Value
Type Description
IFaqSectionRepository

Methods

CreateAsync(CreateFaqSectionDto)

Declaration
[Authorize("CmsKit.Faq.Create")]
public virtual Task<FaqSectionDto> CreateAsync(CreateFaqSectionDto input)
Parameters
Type Name Description
CreateFaqSectionDto input
Returns
Type Description
Task<FaqSectionDto>

DeleteAsync(Guid)

Declaration
[Authorize("CmsKit.Faq.Delete")]
public virtual Task DeleteAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task

GetAsync(Guid)

Declaration
public virtual Task<FaqSectionDto> GetAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task<FaqSectionDto>

GetGroupsAsync()

Declaration
public virtual Task<Dictionary<string, FaqGroupInfoDto>> GetGroupsAsync()
Returns
Type Description
Task<Dictionary<string, FaqGroupInfoDto>>

GetListAsync(FaqSectionListFilterDto)

Declaration
public virtual Task<PagedResultDto<FaqSectionWithQuestionCountDto>> GetListAsync(FaqSectionListFilterDto filterDto)
Parameters
Type Name Description
FaqSectionListFilterDto filterDto
Returns
Type Description
Task<PagedResultDto<FaqSectionWithQuestionCountDto>>

UpdateAsync(Guid, UpdateFaqSectionDto)

Declaration
[Authorize("CmsKit.Faq.Update")]
public virtual Task<FaqSectionDto> UpdateAsync(Guid id, UpdateFaqSectionDto input)
Parameters
Type Name Description
Guid id
UpdateFaqSectionDto input
Returns
Type Description
Task<FaqSectionDto>

Implements

IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
IFaqSectionAdminAppService
ICrudAppService<TGetOutputDto, TGetListOutputDto, TKey, TGetListInput, TCreateInput, TUpdateInput>
IReadOnlyAppService<TGetOutputDto, TGetListOutputDto, TKey, TGetListInput>
ICreateUpdateAppService<TGetOutputDto, TKey, TCreateUpdateInput, TUpdateInput>
ICreateAppService<TGetOutputDto, TCreateInput>
IUpdateAppService<TGetOutputDto, TKey, TUpdateInput>
IDeleteAppService<TKey>
IApplicationService
IRemoteService

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform