Explorar o código

fix: add default contstructor to product dto

Mariano Z. %!s(int64=2) %!d(string=hai) anos
pai
achega
8685b3cb6f
Modificáronse 1 ficheiros con 4 adicións e 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; }