Table of Contents

Class QuizResultDto

Namespace
Builvero.Application.Interfaces.Services
Assembly
Builvero.Application.dll

Data transfer object representing the result of a submitted quiz attempt.

public class QuizResultDto
Inheritance
QuizResultDto
Inherited Members

Properties

AttemptId

Gets or sets the unique identifier of the quiz attempt.

public Guid AttemptId { get; set; }

Property Value

Guid
Data transfer object representing the result of a submitted quiz attempt.

Passed

Gets or sets a value indicating whether the user passed the quiz (score >= 14 out of 15).

public bool Passed { get; set; }

Property Value

bool
Data transfer object representing the result of a submitted quiz attempt.

RolePromoted

Gets or sets a value indicating whether the user's role was promoted to TeamMember (true if passed).

public bool RolePromoted { get; set; }

Property Value

bool
Data transfer object representing the result of a submitted quiz attempt.

Score

Gets or sets the number of correct answers (out of 15).

public int Score { get; set; }

Property Value

int
Data transfer object representing the result of a submitted quiz attempt.

SubmittedAtUtc

Gets or sets the UTC timestamp when the quiz was submitted.

public DateTime SubmittedAtUtc { get; set; }

Property Value

DateTime
Data transfer object representing the result of a submitted quiz attempt.

Total

Gets or sets the total number of questions (always 15).

public int Total { get; set; }

Property Value

int
Data transfer object representing the result of a submitted quiz attempt.