Ver Fonte

fix: add default contstructor to product dto

Mariano Z. há 2 anos atrás
pai
commit
8685b3cb6f
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      Products.Common/Dtos/ProductDto.cs

+ 4 - 0
Products.Common/Dtos/ProductDto.cs

@@ -12,6 +12,10 @@ public class ProductDto
         Id = id;
     }
     
+    public ProductDto()
+    {
+    }
+    
 
     public string Name { get; set; }
     public Color Color { get; set; }