Church.Net.API/WebAPI/ServerUtils.cs
2022-09-08 08:04:32 -07:00

20 lines
391 B
C#

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace WebAPI
{
public class ServerUtils
{
public static string MapPath(string path)
{
return Path.Combine(
(string)AppDomain.CurrentDomain.GetData("ContentRootPath"),
path);
}
}
}