ISystemRepository.cs 498 B

123456789101112
  1. using RackPeek.Domain.Resources.Services;
  2. namespace RackPeek.Domain.Resources.SystemResources;
  3. public interface ISystemRepository : IResourceRepo<SystemResource>
  4. {
  5. Task<int> GetSystemCountAsync();
  6. Task<Dictionary<string, int>> GetSystemTypeCountAsync();
  7. Task<Dictionary<string, int>> GetSystemOsCountAsync();
  8. Task<IReadOnlyList<SystemResource>> GetFilteredAsync(string? typeFilter, string? osFilter);
  9. Task<IReadOnlyList<SystemResource>> GetByPhysicalHostAsync(string name);
  10. }