Add Identity configuration, DTOs and Mappers #1
Reference in New Issue
Block a user
Delete Branch "Feat/Identity"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
-Configured Identity using a custom User model to manage authentication and authorization, to be used in the project.
-Added relationships between models.
Note : no migration yet
@@ -0,0 +10,4 @@public bool IsPublished { get; set; }public string AuthorId { get; set; }public ICollection<QuestionDto> Questions { get; set; }public ICollection<ResponseDto> Responses { get; set; }remove the responses property
@@ -0,0 +6,4 @@public string? Email { get; set; }public string? Username { get; set; }public string? Fullname { get; set; }public ICollection<SurveyDto> AuthoredSurveys { get; set; }remove the authored surveys property from the dto
@@ -0,0 +23,4 @@{Question = a.Question,AnswerText = a.AnswerText}).ToList();what's the point of the answers variable here?