Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public string GetFilePath(string fileName)
- {
- string destination = Environment.CurrentDirectory;
- for (int i = 0; i < 3; i++)
- {
- destination = Directory.GetParent(destination).ToString();
- }
- return destination + "/Domainlayer/Content/" + fileName;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement