26 lines
742 B
C#
26 lines
742 B
C#
using System;
|
|
using xDataService.Configuration;
|
|
using xDataService.GraphQL;
|
|
using xWebinarService.Interfaces.Entities;
|
|
using xWebinarService.Models.Entities;
|
|
|
|
namespace xWebinarService.Providers.GraphQL
|
|
{
|
|
public class XWebinarSubscriberGraphQLTypeHelper : XBaseGraphQLTypeHelper<XWebinarSubscriber, int>, IXWebinarSubscriberGraphQLTypeHelper
|
|
{
|
|
public XWebinarSubscriberGraphQLTypeHelper(
|
|
XDataServiceConfiguration configuration
|
|
) : base(configuration)
|
|
{ }
|
|
|
|
public override string GetInQueryCollectionName()
|
|
{
|
|
return "webinarSubscribers";
|
|
}
|
|
|
|
public override string GetInQuerySingleName()
|
|
{
|
|
return "webinarSubscriber";
|
|
}
|
|
}
|
|
} |