Пример #1
0
        public OptResult Add(AddDictViewModel vmAddDict)
        {
            OptResult rst = null;

            var dict = OOMapper.Map <AddDictViewModel, Dict>(vmAddDict);

            rst = _dictSrv.Add(dict);

            return(rst);
        }