refactor: Update protobuf namespaces and remove unused imports
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using BackOffice.BFF.Health.Protobuf;
|
||||
using Google.Protobuf.WellKnownTypes;
|
||||
using CMSMicroservice.Protobuf.Protos.ClubMembership;
|
||||
using CMSMicroservice.Protobuf.Protos.Configuration;
|
||||
using Foursat.BackOffice.BFF.Health.Protobuf;
|
||||
|
||||
namespace BackOffice.BFF.Application.HealthCQ.Queries.GetSystemHealth;
|
||||
|
||||
@@ -56,7 +57,7 @@ public class GetSystemHealthQueryHandler : IRequestHandler<GetSystemHealthQuery,
|
||||
{
|
||||
var stopwatch = System.Diagnostics.Stopwatch.StartNew();
|
||||
await _context.Configurations.GetAllConfigurationsAsync(
|
||||
new BackOffice.BFF.Configuration.Protobuf.GetAllConfigurationsRequest
|
||||
new GetAllConfigurationsRequest
|
||||
{
|
||||
PageIndex = 1,
|
||||
PageSize = 1
|
||||
@@ -116,7 +117,7 @@ public class GetSystemHealthQueryHandler : IRequestHandler<GetSystemHealthQuery,
|
||||
{
|
||||
var stopwatch = System.Diagnostics.Stopwatch.StartNew();
|
||||
await _context.ClubMemberships.GetClubStatisticsAsync(
|
||||
new BackOffice.BFF.ClubMembership.Protobuf.GetClubStatisticsRequest(),
|
||||
new GetClubStatisticsRequest(),
|
||||
cancellationToken: cancellationToken);
|
||||
stopwatch.Stop();
|
||||
clubHealthy = true;
|
||||
|
||||
Reference in New Issue
Block a user