public async Task <IHttpActionResult> ExtractData(Guid sourceId)
        {
            var result = await service.ExtractData(sourceId);

            return(Ok(result));
        }
Example #2
0
 public ActionResult ExtractData(Guid sourceId)
 {
     Task.Run(() => { fileService.ExtractData(sourceId); });
     return(RedirectToAction("Index", "InputHistory"));
 }