Browse Source

add helper

feature/19315_Customer-Registration-new
shakun 11 months ago
parent
commit
e242c03fe7
  1. 12
      CustomerOnlineV2/CustomerOnlineV2.Common/Helper/ApplicationConfig.cs

12
CustomerOnlineV2/CustomerOnlineV2.Common/Helper/ApplicationConfig.cs

@ -58,5 +58,17 @@ namespace CustomerOnlineV2.Common.Helper
{
return ConfigurationManager.AppSettings[key] ?? defValue;
}
public static string GetProfilePhotoUploadPath()
{
return ReadWebConfig("profilePicUploadURL");
}
public static string GetCustomerPortalUrl()
{
return ReadWebConfig("customerPortalUrl");
}
public static string GetMobileApiUrl()
{
return ReadWebConfig("mobileJsonRxUrl");
}
}
}
Loading…
Cancel
Save