adding Data Requirement on XContent Service ...
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using xContentService.Constants;
|
||||
using xContentService.Interfaces.Entities;
|
||||
using xContentService.Models.Entities;
|
||||
using xDataService.GraphQL;
|
||||
|
||||
namespace xContentService.Providers.GraphQL
|
||||
{
|
||||
public class XContentGraphQLTypeHelper : XBaseGraphQLTypeHelper<XContent, Guid>, IXContentGraphQLTypeHelper
|
||||
{
|
||||
public override string GetInQueryCollectionName()
|
||||
{
|
||||
return XContentServiceConstants.XContentCollectionName;
|
||||
}
|
||||
|
||||
public override string GetInQuerySingleName()
|
||||
{
|
||||
return XContentServiceConstants.XContentSingleName;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user