public void InsertTopLevelDomain(string productName, string planName, string topLevelDomain, string currency) { using (var connection = ConnectionFactory.GetConnection()) { DAL.Domain dalDomain = new ResellerClub.DataAccess.Domain(connection); dalDomain.InsertTopLevelDomain(productName, planName, topLevelDomain, currency); } }
private List <string> GetNameServer() { List <string> list; using (var connection = ConnectionFactory.GetConnection()) { DAL.Domain dalDomain = new ResellerClub.DataAccess.Domain(connection); list = dalDomain.GetNameServer(); } return(list); }
public List <ITopLevelDomianMessage> GetTopLevelDomian() { List <ITopLevelDomianMessage> list; using (var connection = ConnectionFactory.GetConnection()) { DAL.Domain dalDomain = new ResellerClub.DataAccess.Domain(connection); list = dalDomain.GetTopLevelDomian(); } return(list); }