예제 #1
0
 /// <summary>
 /// 保存表单(新增、修改)
 /// </summary>
 /// <param name="keyValue">主键值</param>
 /// <param name="entity">实体对象</param>
 /// <returns></returns>
 public void SaveForm(string keyValue, BaseFriendLinksEntity entity, string code)
 {
     try
     {
         service.SaveForm(keyValue, entity, code);
         Cache.Factory.CacheFactory.Cache().RemoveCache(CacheKeyEnum.FriendLink.ToString());
     }
     catch (Exception)
     {
         throw;
     }
 }
예제 #2
0
 public ActionResult SaveForm(string keyValue, BaseFriendLinksEntity entity, string code = "1")
 {
     basefriendlinksbll.SaveForm(keyValue, entity, code);
     return(Success("操作成功。"));
 }