public ActionResult OperateLogs(int id) { IEnumerable <SE_DictionaryConfigModel> list = SE_DictionaryConfigBLL.SelectPages(1, int.MaxValue, string.Format(" and ParentId = {0} ", id)) ?? new List <SE_DictionaryConfigModel>(); return(View(list)); }
private void Logs(SE_GiftManageConfigModel source, string type) { if (source != null) { var result = SE_DictionaryConfigBLL.Insert(new SE_DictionaryConfigModel { ParentId = source.Id, Key = "SE_GiftManageConfig", Extend1 = _CreateLogs != null ? JsonConvert.SerializeObject(_CreateLogs) : "", Extend2 = source != null ? JsonConvert.SerializeObject(source) : "", Extend3 = source.Mender, Extend4 = type, CreateTime = DateTime.Now, UpdateTime = DateTime.Now }); //_CreateLogs = null; } }