init new sub dirs

main
Paul Schneider 8 years ago
parent d9a0363cc4
commit ce55a22fdc
1 changed files with 2 additions and 1 deletions

@ -62,7 +62,8 @@ namespace Yavsc.Helpers
}
root = Path.Combine(root, subpath);
}
var di = new DirectoryInfo(root);
if (!di.Exists) di.Create();
return root;
}
public static void DeleteUserFile(this ApplicationUser user, string fileName)

Loading…