Explorar el Código

fix: add default contstructor to product dto

Mariano Z. hace 2 años
padre
commit
8685b3cb6f
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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; }