public void CreatePhraseDictionary(CreatePhraseDictionaryInput input) { GetMappedEntities(); var dictionaryEntity = new PhraseDictionary(); dictionaryEntity = Mapper.Map<CreatePhraseDictionaryInput, PhraseDictionary>(input); unitOfWork.GetGenericPhraseDictionaryRepository().Insert(dictionaryEntity); }
public void CreatePhraseDictionary(CreatePhraseDictionaryInput input) { Logger.Info("Creating a new dictionary: " + input); GetMappedEntities(); var dictionaryEntity = new PhraseDictionary(); dictionaryEntity = Mapper.Map<CreatePhraseDictionaryInput, PhraseDictionary>(input); _phraseDictionaryRepository.Insert(dictionaryEntity); }
public void CreatePhraseDictionary(CreatePhraseDictionaryInput input) { Logger.Info("Creating a new dictionary: " + input); GetMappedEntities(); var dictionaryEntity = new PhraseDictionary(); dictionaryEntity = Mapper.Map <CreatePhraseDictionaryInput, PhraseDictionary>(input); _phraseDictionaryRepository.Insert(dictionaryEntity); }