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

This commit is contained in:
2026-07-30 14:26:51 +03:30
parent 651fde1cd8
commit 9c101a63eb
7 changed files with 49 additions and 14 deletions
+3 -2
View File
@@ -1,6 +1,7 @@
using System;
using xDataService.Configuration;
using xDataService.GraphQL;
using xFileService.Constants;
using xFileService.Interfaces.Entities;
using xFileService.Models.Entities;
@@ -15,12 +16,12 @@ namespace xFileService.Providers.GraphQL
public override string GetInQueryCollectionName()
{
return "files";
return XFileServiceConstants.XFileCollectionName;
}
public override string GetInQuerySingleName()
{
return "file";
return XFileServiceConstants.XFileSingleName;
}
}
}