using AutoMapper; namespace MyOffice.Services.Mapper; public class BaseProfile : Profile { protected IMappingExpression Mapping; public BaseProfile() { Mapping = CreateMap(); } }