26 lines
684 B
C#
26 lines
684 B
C#
using System;
|
|
using xDataService.Configuration;
|
|
using xDataService.GraphQL;
|
|
using xWebinarService.Interfaces.Entities;
|
|
using xWebinarService.Models.Entities;
|
|
|
|
namespace xWebinarService.DataHelper.GraphQL
|
|
{
|
|
public class XWebinarGraphQLTypeHelper : XBaseGraphQLTypeHelper<XWebinar, Guid>, IXWebinarGraphQLTypeHelper
|
|
{
|
|
public XWebinarGraphQLTypeHelper(
|
|
XDataServiceConfiguration configuration
|
|
) : base(configuration)
|
|
{ }
|
|
|
|
public override string GetInQueryCollectionName()
|
|
{
|
|
return "webinars";
|
|
}
|
|
|
|
public override string GetInQuerySingleName()
|
|
{
|
|
return "webinar";
|
|
}
|
|
}
|
|
} |