using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Traffic.Data.Models; namespace Traffic.Repository.Interfaces { public interface IRolePageRepository { public IEnumerable GetRolePages(); public IEnumerable GetRolePageByRoleId(int id); public bool InsertRolePage(List RoleId); public bool InsertRolePage(RolePage rolePage); public bool UpdateRolePage(RolePage rolePage); public bool DeleteRolePage(int id); public IEnumerable GetRolePermissionInfo(int? roleid); public IEnumerable GetRolePageLists(int roleid); public IEnumerable GetPageLists(); public PageList GetPageListById(int id); public bool InsertPageList(PageList company); public bool UpdatePageList(PageList company); public bool DeletePageList(int id); } }