refactor(dotnet): remove aggregate collection repository contract
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 17s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m38s

This commit is contained in:
2026-07-13 01:09:57 +09:00
parent ae32f86685
commit ca3b394ec2
9 changed files with 18 additions and 82 deletions
@@ -1,6 +1,7 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc.RazorPages;
using QuantEngine.Core.Interfaces;
using QuantEngine.Application.Interfaces;
using QuantEngine.Web.Services;
namespace QuantEngine.Web.Pages.Admin.Monitoring;
@@ -8,7 +9,7 @@ namespace QuantEngine.Web.Pages.Admin.Monitoring;
[Authorize(AuthenticationSchemes = AdminAuthDefaults.Scheme)]
public class IndexModel : PageModel
{
private readonly ICollectionRepository _collectionRepository;
private readonly ICollectionReadRepository _collectionRepository;
private readonly ILogger<IndexModel> _logger;
public List<CollectionRunRecord>? OngoingRuns { get; set; }
@@ -19,7 +20,7 @@ public class IndexModel : PageModel
public List<CollectionErrorRecord>? RecentErrors { get; set; }
public bool IsDatabaseConnected { get; set; }
public IndexModel(ICollectionRepository collectionRepository, ILogger<IndexModel> logger)
public IndexModel(ICollectionReadRepository collectionRepository, ILogger<IndexModel> logger)
{
_collectionRepository = collectionRepository;
_logger = logger;