コード例 #1
0
        public ActionResult Delete(string company, string repository, string project, string version)
        {
            var key = Request.Headers["X-NuGet-ApiKey"];

            return(DoAction(
                       () => manager.Hide(GetCaller(company, key), company, repository, project, version),
                       200, "Package is now hidden. It will not show up on any listing, but PDBs and sources will still be served for clients with old binaries. Use the SymbolSource website to delete pernamently."));
        }
コード例 #2
0
 public ActionResult Delete(string company, string repository, string key, string project, string version)
 {
     return(DoAction(() => manager.Hide(GetCaller(company, key), company, repository, project, version)));
 }