public Dictionary CastDB(DictionaryViewModel model) { Dictionary db = new Dictionary(); Com.HSJF.Infrastructure.ExtendTools.ObjectExtend.CopyTo(model, db); return(db); }
public virtual DictionaryViewModel CastModel(Dictionary db) { DictionaryViewModel model = new DictionaryViewModel(); Com.HSJF.Infrastructure.ExtendTools.ObjectExtend.CopyTo(db, model); return(model); }