using Microsoft.EntityFrameworkCore;
using Ropin.Inspection.Model.Entities;
using Ropin.Inspection.Model.ViewModel.SYS;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ropin.Inspection.Repository.SYS.Interface
{
    public interface IsysRoleHandRepository : IRepositoryBase<TSYS_RoleHand>, IRepositoryBaseById<TSYS_RoleHand, Guid>
    {
        Task CreateRoleHandAsync(TSYS_RoleHand entity);
        Task<bool> DeleteByRoleIdAsync(Guid roleId);
        Task<bool> DeleteRoleHandAsync(Guid roleId, Guid handCode);
        Task<IEnumerable<TSYSRoleHandModel>> GetList(Guid roleId);
    }
}