예제 #1
0
        public async Task <ActionResult> load_reports()
        {
            var json     = new StreamReader(Request.Body).ReadToEnd();
            var data     = JsonConvert.DeserializeObject <BlogEntity>(json);
            var _reports = await BlogsBLL.LoadReport(_context, data);

            return(Ok(new { data = _reports }));
        }