MenuMapping.cs 270 B

123456789101112131415
  1. using AutoMapper;
  2. using GxPress.Entity.Menus;
  3. namespace GxPress.Mappings
  4. {
  5. public class MenuMapping: Profile
  6. {
  7. public MenuMapping()
  8. {
  9. CreateMap<Menus, Children>();
  10. CreateMap<Children, Menus>();
  11. }
  12. }
  13. }