前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
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(); } } }