Beispiel #1
0
        public ActionResult GetFormJson(string keyValue)
        {
            var data = _dutyService.GetForm(keyValue);

            return(Content(data.ToJson()));
        }
        public async Task <IActionResult> GetFormJson(string keyValue)
        {
            var data = await dutyApp.GetForm(keyValue);

            return(Content(data.ToJson()));
        }