public static string GetDomainName(Guid domainGuid) { Business.Domain domainController = new Business.Domain(); DataTable dtDomainInfo = domainController.GetDomain(domainGuid); return(dtDomainInfo.Rows.Count > 0 ? dtDomainInfo.Rows[0]["Name"].ToString() : string.Empty); }
public static DataTable GetDomain(Guid domainGuid) { Business.Domain domainController = new Business.Domain(); return(domainController.GetDomain(domainGuid)); }