22 lines
677 B
C#
22 lines
677 B
C#
using cfs_tracker.Models;
|
|
|
|
namespace cfs_tracker.Services;
|
|
|
|
public interface IPdfExportService
|
|
{
|
|
Task<ExportResult> ExportDayAsync(DateTime date);
|
|
Task<ExportResult> ExportWeekAsync(DateTime date);
|
|
Task<ExportResult> ExportMonthAsync(DateTime date);
|
|
Task<ExportResult> ExportMonthAsync(int year, int month);
|
|
Task<ExportResult> ExportYearAsync(DateTime date);
|
|
Task<ExportResult> ExportYearAsync(int year);
|
|
Task<ExportResult> ExportRangeAsync(
|
|
DateTime startDate,
|
|
DateTime endDate,
|
|
ExportLayout layout,
|
|
int? activityId = null,
|
|
IReadOnlyCollection<int>? symptomIds = null);
|
|
|
|
Task<int> ClearExportsAsync();
|
|
}
|