Sfoglia il codice sorgente

fix: add default contstructor to product dto

Mariano Z. 2 anni fa
parent
commit
8685b3cb6f
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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; }