public EnterpriseService(IUnitOfWorkEnterprises uow, IMapper mapper) { _uow = uow; _enterprises = uow.Enterprises; _types = uow.Types; _mapper = mapper; }
public ProfileToInput(IUnitOfWorkEnterprises uow) { enterprises = uow.Enterprises; types = uow.Types; CreateMap <EnterpriseFilter, Enterprise>(); CreateMap <EnterpriseType, EnterpriseTypeOutput>(); }