PIBD-21_Lobashov_I_D_Travel.../TravelCompany/TravelCompanyRestApi/APIConfig.cs

13 lines
273 B
C#
Raw Normal View History

2024-05-03 10:54:09 +04:00
namespace TravelCompanyRestApi
{
public class APIConfig
{
public static string? ShopPassword;
public static void LoadData(IConfiguration configuration)
{
ShopPassword = configuration["ShopAPIPassword"];
}
}
}