Browse Source

fix: add default contstructor to product dto

Mariano Z. 2 năm trước cách đây
mục cha
commit
8685b3cb6f
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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; }