예제 #1
0
        public async Task <IActionResult> Upload(FileModel model)
        {
            List <Root> result = new List <Root>();

            if (ModelState.IsValid)
            {
                result = await ocrService.GetInvoice(model);
            }

            roots = result;

            return(View("View", result));
        }