eeacfebec9
Adjust namespace
22 lines
471 B
C#
22 lines
471 B
C#
using System.Configuration;
|
|
using LeafWeb.Core.Entities;
|
|
|
|
namespace LeafWeb.WebCms.Services
|
|
{
|
|
public class DownloadUrlService
|
|
{
|
|
private readonly string _downloadUrl;
|
|
|
|
public DownloadUrlService()
|
|
{
|
|
_downloadUrl =
|
|
ConfigurationManager.AppSettings["LeafWebUrl"]
|
|
+ ConfigurationManager.AppSettings["ResultsDownloadPath"];
|
|
}
|
|
|
|
public string GetDownloadUrl(LeafInput leafInput)
|
|
{
|
|
return string.Format(_downloadUrl, leafInput.UniqueToken);
|
|
}
|
|
}
|
|
} |