using HeBianGu.Base.WpfBase; using HeBianGu.Service.Mvc; using System; using System.Threading.Tasks; namespace HeBianGu.App.Disk { [Controller("Loyout")] internal class LoyoutController : Controller { public async Task Home() { return await ViewAsync(); } public async Task Near() { return await ViewAsync(); } public async Task Explorer() { this.ViewModel.Path = Environment.GetFolderPath(Environment.SpecialFolder.MyComputer); return await ViewAsync(); } public async Task Space() { return await ViewAsync(); } public async Task Share() { return await ViewAsync(); } //public async Task Image() //{ // this.ViewModel.Path = Environment.GetFolderPath(Environment.SpecialFolder.MyPictures); // return await ViewAsync(nameof(Explorer)); //} //public async Task Video() //{ // this.ViewModel.Path = Environment.GetFolderPath(Environment.SpecialFolder.MyVideos); // return await ViewAsync(nameof(Explorer)); //} //public async Task Music() //{ // this.ViewModel.Path = Environment.GetFolderPath(Environment.SpecialFolder.MyMusic); // return await ViewAsync(nameof(Explorer)); //} //public async Task Document() //{ // this.ViewModel.Path = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments); // return await ViewAsync(nameof(Explorer)); //} //public async Task Recent() //{ // this.ViewModel.Path = Environment.GetFolderPath(Environment.SpecialFolder.Recent); // return await ViewAsync(nameof(Explorer)); //} } }