public void UnmapDomain(Guid domainId) { var provider = new DomainProvider(_credentialManager); provider.Delete(domainId); }
public Resource <Domain> MapDomain(string name, Guid?organizationId, bool isWilcardExist = true) { var provider = new DomainProvider(_credentialManager); return(provider.Create(name, organizationId, isWilcardExist)); }
public IEnumerable <Resource <Domain> > GetDomains() { var provider = new DomainProvider(_credentialManager); return(provider.GetAll()); }
public Resource <Domain> GetDomain(Guid domainId) { var provider = new DomainProvider(_credentialManager); return(provider.GetById(domainId)); }
public IEnumerable <Resource <Domain> > GetDomainsBySpace(Guid spaceId) { var provider = new DomainProvider(_credentialManager); return(provider.GetDomainsBySpace(spaceId)); }