Exemplo n.º 1
0
        public async Task <DataTable> GetList()
        {
            var dic = new Dictionary <string, object>()
            {
            };

            dic.Add("@price", 100);
            return(await _personRespository.SqlQueryDataTable("select * from Goods where Price>@price",
                                                              dic));
        }