CategoryProfile.cs 322 字节
Newer Older
lwplvx's avatar
rename  
lwplvx 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
using System;
using Aurora.Core.Domain.Entities;
using Aurora.Core.IService.Dto;
using AutoMapper;

namespace Aurora.Core.Service.AutomapperProfiles
{
    public class CategoryProfile : Profile
    {
        public CategoryProfile()
        {
            CreateMap<Category, CategoryDto>().ReverseMap();
        }
    }
}