You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
919 B

using System.Collections.Generic;
using Znyc.Cloudcar.Admin.Commons.IRepositories;
using Znyc.Cloudcar.Admin.Security.Entitys;
namespace Znyc.Cloudcar.Admin.Security.IRepositories
{
public interface IMenuRepository : IRepository<MenuEntity, long>
{
/// <summary>
/// ���ݽ�ɫID�ַ��������ŷֿ�)��ϵͳ����ID����ȡ��Ӧ�IJ��������б�
/// </summary>
/// <param name="roleIds">��ɫID</param>
/// <param name="typeID">ϵͳ����ID</param>
/// <param name="isMenu">�Ƿ��Dz˵�</param>
/// <returns></returns>
IEnumerable<MenuEntity> GetFunctions(string roleIds, string typeID, bool isMenu = false);
/// <summary>
/// ����ϵͳ����ID����ȡ��Ӧ�IJ��������б�
/// </summary>
/// <param name="typeID">ϵͳ����ID</param>
/// <returns></returns>
IEnumerable<MenuEntity> GetFunctions(string typeID);
}
}