Пример #1
0
        public string DbGet([FromBody] DbTest req)
        {
            var param = DbParamHelper.Generate(req.Param);

            var result = _testDb.GetAll <object>(req.Query, param, CommandType.Text);

            return(JsonConvert.SerializeObject(result));
        }