public void DeleteFile(string url) { var mapPath = _sessionContext.MapPath(url); File.Delete(mapPath); }