20 lines
391 B
C#
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);
|
|
}
|
|
}
|
|
}
|