public PanelViewModel() { this.UpdateDrives.Execute(this); if (drives.Length != 0) { SelectedPath = drives[0]; GetFiles.Execute(this); } }
public ActionResult Files(int id) { GetFiles search = new GetFiles(_db, id, Requester()); return(View(model: search.Execute())); }