예제 #1
0
 /// <summary>
 /// 保存角色表单(新增、修改)
 /// </summary>
 /// <param name="keyValue">主键值</param>
 /// <param name="roleEntity">角色实体</param>
 /// <returns></returns>
 public void SaveForm(string keyValue, AppRoleEntity roleEntity)
 {
     try
     {
         service.SaveForm(keyValue, roleEntity);
         CacheFactory.Cache().RemoveCache(cacheKey);
     }
     catch (Exception)
     {
         throw;
     }
 }