public static PropositionDto ToDto(this Models.Propositions entity) { return(new PropositionDto { Id = entity.Id, proposition = entity.Proposition }); }
public static PropositionDtoBO ToDto(this Models.Propositions entity) { return(new PropositionDtoBO { Id = entity.Id, Proposition = entity.Proposition, QuestionId = entity.QuestionId }); }