Ajout de constructeur vide pour les DTO qui n'en avaient pas

testConsoleEF^2
Johnny RATTON 1 year ago
parent d8e041736f
commit 231f9bd878

@ -5,6 +5,7 @@ public class BlackListDTO
public string Email { get; set; }
public DateOnly ExpirationDate { get; set; }
public BlackListDTO() {}
public BlackListDTO(string email, DateOnly expirationDate)
{
Email = email;

@ -10,6 +10,7 @@ public class InquiryDTO
public bool IsUser { get; set; }
public InquiryDTO(){}
public InquiryDTO(int id, string title, string description, bool isUser)
{
Id = id;

Loading…
Cancel
Save