forked from ddrilling/AsbCloudServer
24 lines
751 B
C#
24 lines
751 B
C#
using AsbCloudApp.Data;
|
|
using AsbCloudApp.Services;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AsbCloudApp.Repositories;
|
|
|
|
/// <summary>
|
|
/// Интерфейс репозитория справок страниц
|
|
/// </summary>
|
|
public interface IHelpPageRepository : ICrudRepository<HelpPageDto>
|
|
{
|
|
/// <summary>
|
|
/// Получение справки по url страницы и id категории
|
|
/// </summary>
|
|
/// <param name="key"></param>
|
|
/// <param name="idCategory"></param>
|
|
/// <param name="cancellationToken"></param>
|
|
/// <returns></returns>
|
|
Task<HelpPageDto?> GetOrDefaultByUrlPageAndIdCategoryAsync(string key,
|
|
int idCategory,
|
|
CancellationToken cancellationToken);
|
|
}
|