28 lines
826 B
C#
28 lines
826 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using xDataService.Configuration;
|
|
using xDataService.GraphQL;
|
|
using xWebinarService.Interfaces.Entities;
|
|
using xWebinarService.Models.Entities;
|
|
|
|
namespace xWebinarService.DataHelper.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";
|
|
}
|
|
}
|
|
} |