Skip to content

Instantly share code, notes, and snippets.

@ssougnez
Last active October 25, 2018 20:20
Show Gist options
  • Save ssougnez/bf5729ea1a7a1c2325d4b7a60ad11403 to your computer and use it in GitHub Desktop.
Save ssougnez/bf5729ea1a7a1c2325d4b7a60ad11403 to your computer and use it in GitHub Desktop.
public class AutoMapperHandler : MapperConfiguration
{
public override void ConfigureMappings(IConfiguration config, ApplicationContext applicationContext)
{
config.AddProfile(new NewsProfile());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment