예제 #1
0
 public SnapmailInfoModel Put(string key, SnapmailModel data)
 {
     return(SnapmailModel.ToInfoModel(SnapmailDao.Update(key, SnapmailModel.ToRowData(key, data))));
 }
예제 #2
0
        public SnapmailInfoModel Post(SnapmailModel data)
        {
            SnapmailRowData rowdata = SnapmailModel.ToRowData(data);

            return(SnapmailModel.ToInfoModel(SnapmailDao.Insert(rowdata)));
        }