28 lines
768 B
C#
28 lines
768 B
C#
using xDataService.GraphQL;
|
|
using xDataService.Configuration;
|
|
using xBotService.Models.Entities;
|
|
using xBotService.Interfaces.Entities;
|
|
using xBotService.Constants;
|
|
|
|
namespace xBotService.Providers.GraphQL
|
|
{
|
|
public class XBotUserGraphQLTypeHelper : XBaseGraphQLTypeHelper<XBotUser, int>, IXBotUserGraphQLTypeHelper
|
|
{
|
|
public XBotUserGraphQLTypeHelper(
|
|
XDataServiceConfiguration configuration
|
|
)
|
|
: base(configuration)
|
|
{
|
|
}
|
|
|
|
public override string GetInQueryCollectionName()
|
|
{
|
|
return XBotServiceConstants.XBotUserCollectionName;
|
|
}
|
|
|
|
public override string GetInQuerySingleName()
|
|
{
|
|
return XBotServiceConstants.XBotUserSingleName;
|
|
}
|
|
}
|
|
} |