11 lines
351 B
C#
11 lines
351 B
C#
namespace LCU.API.Internal.Document.PerformanceTest.API;
|
|
|
|
public static class ApiFactory
|
|
{
|
|
public static IDocumentApi Api => Environment.Type switch
|
|
{
|
|
EnvironmentType.Local => new DirectInMemoryDocumentApi(),
|
|
EnvironmentType.Azure => new DirectInMemoryDocumentApi(),
|
|
_ => throw new NotImplementedException()
|
|
};
|
|
} |