internal PackageManagerResult Deprecate(string name) { dynSettings.Controller.DynamoViewModel.OnRequestAuthentication(); try { var nv = new Greg.Requests.Deprecate(name, "dynamo"); var pkgResponse = Client.ExecuteAndDeserialize(nv); return(new PackageManagerResult(pkgResponse.message, pkgResponse.success)); } catch { return(new PackageManagerResult("Failed to send.", false)); } }
internal PackageManagerResult Deprecate(string name) { dynSettings.Controller.DynamoViewModel.OnRequestAuthentication(); try { var nv = new Greg.Requests.Deprecate(name, "dynamo"); var pkgResponse = Client.ExecuteAndDeserialize(nv); return new PackageManagerResult(pkgResponse.message, pkgResponse.success); } catch { return new PackageManagerResult("Failed to send.", false); } }