public int DeleteDomainLinks(int[] domainLinkIDs) { var domain = DomainsRepository.GetByDomainLinkID(domainLinkIDs[0]); DomainLinkRepository.DeleteDomainLinks(domainLinkIDs); return((domain != null) ? domain.DomainID : 0); }
public tbl_DomainLink SaveDomainLink(int domainID, string link) { return((string.IsNullOrEmpty(link)) ? null : DomainLinkRepository.SaveDomainLink(domainID, link)); }