init new sub dirs

This commit is contained in:
2017-09-02 17:09:09 +02:00
parent d9a0363cc4
commit ce55a22fdc

View File

@ -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)