Ejemplo n.º 1
0
        public MapperFactoryConfig AddProfile(IMapperProfile profile)
        {
            if (profile is null)
            {
                throw new ArgumentNullException(nameof(profile));
            }

            profiles.Add(profile);
            return(this);
        }
Ejemplo n.º 2
0
 public UserService(IUnitOfWork uow, IMapperProfile mapperProfile, IEncodingService encoding)
 {
     _encodingService = encoding;
     _mapper          = mapperProfile.GetMapper();
     _unit            = uow;
 }
Ejemplo n.º 3
0
 public PlanePartService(IUnitOfWork uow, IMapperProfile mapperProfile)
 {
     _mapper = mapperProfile.GetMapper();
     _unit   = uow;
 }
Ejemplo n.º 4
0
 public PlaneModelService(IUnitOfWork unitOfWork, IMapperProfile mapperProfile)
 {
     _unit   = unitOfWork;
     _mapper = mapperProfile.GetMapper();
 }