Exemple #1
0
 public EnterpriseService(IUnitOfWorkEnterprises uow, IMapper mapper)
 {
     _uow         = uow;
     _enterprises = uow.Enterprises;
     _types       = uow.Types;
     _mapper      = mapper;
 }
Exemple #2
0
        public ProfileToInput(IUnitOfWorkEnterprises uow)
        {
            enterprises = uow.Enterprises;
            types       = uow.Types;

            CreateMap <EnterpriseFilter, Enterprise>();

            CreateMap <EnterpriseType, EnterpriseTypeOutput>();
        }