Created
March 13, 2021 05:41
-
-
Save superwalnut/7e14ba6343db67fbc48ca1ec59022d5d to your computer and use it in GitHub Desktop.
code block for create-dotnet-core-console-app-with-autofac-dependency-injection-7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MyAutoMapperProfile : Profile | |
{ | |
public MyAutoMapperProfile() | |
{ | |
CreateMap<Foo, FooDto>(); | |
// Use CreateMap... Etc.. here (Profile methods are the same as configuration methods) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment