public List <Work> Select() { WorkParser workParser = new WorkParser(); DataTable dataTable = new DataTable(); string sqlExpression = "Select * from Works"; dataTable = connection.Select(sqlExpression); List <Work> works = workParser.Parse(dataTable); return(works); }
public List <Implementer> Select() { ImplementerParser implementersParser = new ImplementerParser(); DataTable dataTable = new DataTable(); string sqlExpression = "Select * from Implementers"; dataTable = connection.Select(sqlExpression); List <Implementer> implementers = implementersParser.Parse(dataTable); return(implementers); }