/// <summary> /// 删除 /// </summary> /// <param name="role">角色实体</param> public virtual void DeleteRole(Role role) { if (role == null) throw new ArgumentNullException("role"); _roleRepository.Delete(role); }
/// <summary> /// 插入 /// </summary> /// <param name="role">角色实体</param> public virtual void InsertRole(Role role) { if (role == null) throw new ArgumentNullException("role"); _roleRepository.Insert(role); }