Atomia.Provisioning.Modules.Haproxy.Commands.GlobalCommand.GetResourceURL C# (CSharp) Method

GetResourceURL() protected method

protected GetResourceURL ( ModuleService moduleService ) : string
moduleService ModuleService
return string
        protected override string GetResourceURL(ModuleService moduleService)
        {
            string id = moduleService.Properties.Single(p => p.Name == "Id").Value;
            return string.IsNullOrEmpty(id) ? "global" : ("global/" + id);
        }