using Ropin.Inspection.Model; using Ropin.Inspection.Model.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ropin.Inspection.Repository { public interface ITsysLicenseRepository : IRepositoryBase<TSYS_License>, IRepositoryBaseById<TSYS_License, Guid> { IList<TSYS_LicenseType> GetALLLicenseType(); Task CreateLicenseTypeAsync(TSYS_LicenseType entity); void UpdateLicenseType(TSYS_LicenseType entity); TSYS_LicenseType GetLicenseTypeByCode(string code); Task<TsysLicenseTypePrivViewModel> GetLicensePrivByType(string typeCode); Task<IEnumerable<LicenseTypePrivViewModel>> GetLicensePrivsByTypeIdAsync(string typeId); } }