Show / Hide Table of Contents

Interface IResponseAppService

Namespace: Volo.Forms.Responses
Assembly: Volo.Forms.Application.Contracts.dll
Syntax
public interface IResponseAppService : IApplicationService, IRemoteService

Methods

DeleteAsync(Guid)

Declaration
Task DeleteAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task

GetAsync(Guid)

Declaration
Task<FormResponseDto> GetAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task<FormResponseDto>

GetFormDetailsAsync(Guid)

Declaration
Task<FormDto> GetFormDetailsAsync(Guid formId)
Parameters
Type Name Description
Guid formId
Returns
Type Description
Task<FormDto>

GetListAsync(GetUserFormListInputDto)

Declaration
Task<PagedResultDto<FormResponseDto>> GetListAsync(GetUserFormListInputDto input)
Parameters
Type Name Description
GetUserFormListInputDto input
Returns
Type Description
Task<PagedResultDto<FormResponseDto>>

GetQuestionsWithAnswersAsync(Guid)

Declaration
Task<List<QuestionWithAnswersDto>> GetQuestionsWithAnswersAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task<List<QuestionWithAnswersDto>>

GetUserFormsByUserIdAsync(Guid)

Declaration
Task<PagedResultDto<FormWithResponseDto>> GetUserFormsByUserIdAsync(Guid userId)
Parameters
Type Name Description
Guid userId
Returns
Type Description
Task<PagedResultDto<FormWithResponseDto>>

SaveAnswersAsync(Guid, CreateResponseDto)

Declaration
Task<FormResponseDto> SaveAnswersAsync(Guid formId, CreateResponseDto input)
Parameters
Type Name Description
Guid formId
CreateResponseDto input
Returns
Type Description
Task<FormResponseDto>

UpdateAnswersAsync(Guid, UpdateResponseDto)

Declaration
Task<FormResponseDto> UpdateAnswersAsync(Guid id, UpdateResponseDto input)
Parameters
Type Name Description
Guid id
UpdateResponseDto input
Returns
Type Description
Task<FormResponseDto>
In this article
Back to top Powered by Volosoft