mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
992 B
31 lines
992 B
// ==========================================================================
|
|
// NoopAppPlanBillingManager.cs
|
|
// Squidex Headless CMS
|
|
// ==========================================================================
|
|
// Copyright (c) Squidex Group
|
|
// All rights reserved.
|
|
// ==========================================================================
|
|
|
|
using System;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Squidex.Domain.Apps.Entities.Apps.Services.Implementations
|
|
{
|
|
public sealed class NoopAppPlanBillingManager : IAppPlanBillingManager
|
|
{
|
|
public bool HasPortal
|
|
{
|
|
get { return false; }
|
|
}
|
|
|
|
public Task<IChangePlanResult> ChangePlanAsync(string userId, Guid appId, string appName, string planId)
|
|
{
|
|
return Task.FromResult<IChangePlanResult>(PlanChangedResult.Instance);
|
|
}
|
|
|
|
public Task<string> GetPortalLinkAsync(string userId)
|
|
{
|
|
return Task.FromResult(string.Empty);
|
|
}
|
|
}
|
|
}
|
|
|