public IActionResult UploadFile(IFormFile file) { var streamManager = new StreamManager(context); try { streamManager.GetData(file); } catch (FileNotFoundException) { return(StatusCode(400)); } return(StatusCode(200)); }