namespace DTOs { /// /// define a DTO of an answer for a Question with Mutiple Choice /// properties : /// Id : identifier in the database /// Content : content of the answer /// public class AnswerDto { public long Id { get; set; } public string Content { get; set; } = null!; /// /// constructor of an answer /// /// the id of an answer /// the content of an answer public AnswerDto(long id, string content) { Id = id; Content = content; } } }