Esempio n. 1
0
        public string GetReport()
        {
            var reportData = new DapperArgs();

            var data = reportData.GetUsers();

            return(JsonConvert.SerializeObject(data));
        }
Esempio n. 2
0
        public string AddUser([FromBody] JObject jsonData)
        {
            var reportData = new DapperArgs();

            var success = reportData.Insert(jsonData);

            if (success)
            {
                return("1");
            }

            return("0");
        }