last works on Implementing XBotUser Entity and Repository Implementation based on xDataService ...
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user