public OptResult Add(AddDictViewModel vmAddDict) { OptResult rst = null; var dict = OOMapper.Map <AddDictViewModel, Dict>(vmAddDict); rst = _dictSrv.Add(dict); return(rst); }