27 lines
787 B
C#
27 lines
787 B
C#
using System;
|
|
using xDataService.Configuration;
|
|
using xDataService.GraphQL;
|
|
using xWebinarService.Constants;
|
|
using xWebinarService.Interfaces.Entities;
|
|
using xWebinarService.Models.Entities;
|
|
|
|
namespace xWebinarService.Providers.GraphQL
|
|
{
|
|
public class XWebinarGraphQLTypeHelper : XBaseGraphQLTypeHelper<XWebinar, Guid>, IXWebinarGraphQLTypeHelper
|
|
{
|
|
public XWebinarGraphQLTypeHelper(
|
|
XDataServiceConfiguration configuration
|
|
) : base(configuration)
|
|
{ }
|
|
|
|
public override string GetInQueryCollectionName()
|
|
{
|
|
return XWebinarServiceConstants.XWebinarCollectionName;
|
|
}
|
|
|
|
public override string GetInQuerySingleName()
|
|
{
|
|
return XWebinarServiceConstants.XWebinarSingleName;
|
|
}
|
|
}
|
|
} |