예제 #1
0
 /// <summary>
 /// 更新角色
 /// </summary>
 /// <param name="model">角色实体类</param>
 /// <returns></returns>
 public bool UpdateRole(RedGlovePermission.Model.RGP_Roles model)
 {
     return(dal.UpdateRole(model));
 }
예제 #2
0
 /// <summary>
 /// 增加角色
 /// </summary>
 /// <param name="model">角色实体类</param>
 /// <returns></returns>
 public int CreateRole(RedGlovePermission.Model.RGP_Roles model)
 {
     return(dal.CreateRole(model));
 }