コード例 #1
0
        public async Task <ActionResult> LoadAnomaly(string tabletId)
        {
            if (ModelState.IsValid)
            {
                string fileName = await _loadService.BuildAnomaly(tabletId);

                return(File(fileName, "image/png"));
            }

            return(StatusCode(500));
        }