|
@@ -59,6 +59,9 @@ public class SnapshotMapperConfigs : IRegister
|
|
|
config.ForType<IndustryFileDto, Hotline.File.File>()
|
|
|
.Map(m => m.Additions, n => n.AdditionId);
|
|
|
|
|
|
+ config.ForType<SnapshotFileInDto, File.File>()
|
|
|
+ .Map(m => m.Additions, n => n.AdditionId);
|
|
|
+
|
|
|
config.ForType<AddSnapshotOrderInDto, Order>()
|
|
|
.Map(m => m.Contact, n => n.PhoneNumber)
|
|
|
.Map(m => m.FromName, n => n.Name)
|