mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 07:13:12 +00:00
17 lines
448 B
C#
17 lines
448 B
C#
namespace SeaHaven.DataServices.Interfaces
|
|
{
|
|
public interface IDashboardDataService
|
|
{
|
|
Task<DashboardCounts> GetWorkOrderCountsAsync(
|
|
int? accountId,
|
|
CancellationToken cancellationToken);
|
|
}
|
|
|
|
public class DashboardCounts
|
|
{
|
|
public int Total { get; set; }
|
|
public int Open { get; set; }
|
|
public int NotDispatched { get; set; }
|
|
public int Completed { get; set; }
|
|
}
|
|
}
|