SPMS_API/SPMS.Domain/Interfaces/IAppConfigRepository.cs

10 lines
274 B
C#

using SPMS.Domain.Entities;
namespace SPMS.Domain.Interfaces;
public interface IAppConfigRepository : IRepository<AppConfig>
{
Task<AppConfig?> GetByKeyAsync(long serviceId, string configKey);
Task<IReadOnlyList<AppConfig>> GetAllByServiceAsync(long serviceId);
}