public void PerformAction(string ActionType, string Path) { if (ActionType == "Download") { FileExplorerOperations.Download(Path, HttpContext.Current.Request.QueryString.GetValues("Names")); } else if (ActionType == "GetImage") { FileExplorerOperations.GetImage(Path); } }