Skip to content

Commit 1dcf5eb

Browse files
committed
refactored
1 parent 6eb4663 commit 1dcf5eb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Ordering/Ordering.Application/Mapper/OrderMapper.cs

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
namespace Ordering.Application.Mapper
55
{
6-
// The best implementation of AutoMapper for class libraries -> https://www.abhith.net/blog/using-automapper-in-a-net-core-class-library/
6+
// Implementation of AutoMapper for class libraries -> https://www.abhith.net/blog/using-automapper-in-a-net-core-class-library/
77
public static class OrderMapper
88
{
99
private static readonly Lazy<IMapper> Lazy = new Lazy<IMapper>(() =>
@@ -17,6 +17,7 @@ public static class OrderMapper
1717
var mapper = config.CreateMapper();
1818
return mapper;
1919
});
20+
2021
public static IMapper Mapper => Lazy.Value;
21-
}
22+
}
2223
}

0 commit comments

Comments
 (0)