fixe l'execution (apparemment)
This commit is contained in:
parent
cb6309abdb
commit
21d5954bbf
6 changed files with 32 additions and 20 deletions
|
|
@ -3,6 +3,7 @@ using Microsoft.AspNet.Mvc;
|
|||
namespace Yavsc.ViewComponents
|
||||
{
|
||||
using System.Threading.Tasks;
|
||||
using Yavsc.Abstract.FileSystem;
|
||||
using Yavsc.ViewModels.UserFiles;
|
||||
|
||||
public class DirectoryViewComponent : ViewComponent
|
||||
|
|
@ -12,7 +13,7 @@ namespace Yavsc.ViewComponents
|
|||
IViewComponentResult result = null;
|
||||
await Task.Run(() =>
|
||||
{
|
||||
result = View(new UserDirectoryInfo(Startup.UserFilesDirName, User.Identity.Name, dirname));
|
||||
result = View(new UserDirectoryInfo(AbstractFileSystemHelpers.UserFilesDirName, User.Identity.Name, dirname));
|
||||
});
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue