refactor and add using constants instead of hard coded strings ...

This commit is contained in:
2026-07-30 14:24:35 +03:30
parent b582b5c73a
commit c4a60f655d
10 changed files with 61 additions and 22 deletions
@@ -1,6 +1,7 @@
using System;
using xDataService.Configuration;
using xDataService.GraphQL;
using xWebinarService.Constants;
using xWebinarService.Interfaces.Entities;
using xWebinarService.Models.Entities;
@@ -15,12 +16,12 @@ namespace xWebinarService.Providers.GraphQL
public override string GetInQueryCollectionName()
{
return "webinars";
return XWebinarServiceConstants.XWebinarCollectionName;
}
public override string GetInQuerySingleName()
{
return "webinar";
return XWebinarServiceConstants.XWebinarSingleName;
}
}
}