mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-01 15:43:14 +00:00
16 lines
407 B
C#
16 lines
407 B
C#
|
|
namespace SeaHaven.DataServices.Interfaces
|
||
|
|
{
|
||
|
|
public interface IDashboardDataService
|
||
|
|
{
|
||
|
|
Task<DashboardCounts> GetWorkOrderCountsAsync(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; }
|
||
|
|
}
|
||
|
|
}
|