26 lines
487 B
C#
26 lines
487 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DakotaSender
|
|
{
|
|
internal static class DakotaSenderUtils
|
|
{
|
|
public static bool IsTenantAllowed(string tenant)
|
|
{
|
|
var list = FileController.GetTenantsAllowedList();
|
|
|
|
return list.Contains(tenant);
|
|
}
|
|
|
|
public static bool IsTenantTest(string tenant)
|
|
{
|
|
var list = FileController.GetTenantsTestList();
|
|
|
|
return list.Contains(tenant);
|
|
}
|
|
}
|
|
}
|