IReportRepository

Namespace: Babel.Data Assembly: Babel.Data.dll

Interface for report repository.

public interface IReportRepository : IGenericRepository<Report>

Implements

IGenericRepository<Report>

Methods

Delete(IEnumerable<int>)

Deletes the given reportIds.

void Delete(IEnumerable<int> reportIds)

Parameters

NameDescription

The report Identifiers to delete.

GetReportAsync(int)

Gets report asynchronous.

Task<Report> GetReportAsync(int reportId)

Parameters

NameDescription

Identifier for the report.

Returns

NameDescription

An asynchronous result that yields the report.

GetReportCountersAsync(int)

Gets report counters asynchronous.

Task<ReportCounters> GetReportCountersAsync(int reportId)

Parameters

NameDescription

Identifier for the report.

Returns

NameDescription

An asynchronous result that yields the report counters.

GetReportsAsync(string, DateTime?, DateTime?, int?, int?, string, string)

Gets reports asynchronous.

Task<List<Report>> GetReportsAsync(string name, DateTime? start, DateTime? end, int? skip, int? take, string include, string sort)

Parameters

NameDescription

The name.

The start.

The end.

The skip.

The take.

The include.

The sort.

Returns

NameDescription

An asynchronous result that yields the reports.

GetReportsCountAsync(DateTime, DateTime)

Gets reports count asynchronous.

Task<int> GetReportsCountAsync(DateTime startDate, DateTime endDate)

Parameters

NameDescription

The start date.

The end date.

Returns

NameDescription

An asynchronous result that yields the reports count.

GetReportsCountAsync(string, DateTime?, DateTime?)

Gets reports count asynchronous.

Task<int> GetReportsCountAsync(string name, DateTime? startDate, DateTime? endDate)

Parameters

NameDescription

The name.

The start date.

The end date.

Returns

NameDescription

An asynchronous result that yields the reports count.

GetReportsSummaryAsync(DateTime, DateTime)

Gets reports summary asynchronous.

Task<List<ReportSummary>> GetReportsSummaryAsync(DateTime startDate, DateTime endDate)

Parameters

NameDescription

The start date.

The end date.

Returns

NameDescription

An asynchronous result that yields the reports summary.

Last updated