public IEnumerable <Produto> ObterProdutosExcluindoRelacionamentos() { using (var conn = new SqlConnectionHelper(ConnectionsStringHelper.DapperConnection)) { return(conn.GetAll <Produto>()); } }
public IEnumerable <T> GetAll() { using (var conn = new SqlConnectionHelper(ConnectionsStringHelper.DapperConnection)) { return(conn.GetAll <T>()); } }