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() }; }