forked from ddrilling/AsbCloudServer
24 lines
762 B
C#
24 lines
762 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="urlPage"></param>
|
|||
|
/// <param name="idCategory"></param>
|
|||
|
/// <param name="cancellationToken"></param>
|
|||
|
/// <returns></returns>
|
|||
|
Task<HelpPageDto?> GetOrDefaultByUrlPageAndIdCategoryAsync(string urlPage,
|
|||
|
int idCategory,
|
|||
|
CancellationToken cancellationToken);
|
|||
|
}
|