shoc-backend/SeaHaven.DataServices/Interfaces/IDashboardDataService.cs

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; }
}
}