2024-07-04 11:02:45 +05:00
|
|
|
using AsbCloudApp.Data;
|
2022-09-05 09:13:45 +05:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Threading;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Services
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Сервис "Категории документов (файлов)"
|
|
|
|
/// </summary>
|
|
|
|
public interface IFileCategoryService
|
|
|
|
{
|
2022-11-17 17:54:25 +05:00
|
|
|
/// <summary>
|
|
|
|
/// Получить категории файлов
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="id"></param>
|
|
|
|
/// <param name="token"></param>
|
|
|
|
/// <returns></returns>
|
2023-04-13 15:34:16 +05:00
|
|
|
Task<FileCategoryDto?> GetOrDefaultAsync(int id, CancellationToken token);
|
2022-09-08 12:05:56 +05:00
|
|
|
|
2022-09-05 09:13:45 +05:00
|
|
|
/// <summary>
|
|
|
|
/// Получение справочника категорий файлов
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
2022-09-13 11:47:12 +05:00
|
|
|
Task<IEnumerable<FileCategoryDto>> GetWellCaseCategoriesAsync(CancellationToken token);
|
2022-09-05 09:13:45 +05:00
|
|
|
}
|
|
|
|
}
|