Skip to content

Instantly share code, notes, and snippets.

@sumitkharche
Created January 6, 2020 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sumitkharche/2b7dcde8b32fafa36b8c954ad062e4a4 to your computer and use it in GitHub Desktop.
Save sumitkharche/2b7dcde8b32fafa36b8c954ad062e4a4 to your computer and use it in GitHub Desktop.
AutoMapperProfile class
using AutoMapper;
namespace automapper_sample
{
public class AutoMapperProfile : Profile
{
public AutoMapperProfile()
{
CreateMap<StudentDTO, Student>();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment