示例#1
0
        public async Task <IActionResult> AddScanToSesionAsync(string userSessionId)
        {
            try
            {
                var imageData = await Request.GetRawBodyBytesAsync();

                await _azureService.AddScan(userSessionId, imageData);

                return(Ok());
            }
            catch (Exception ex)
            {
                return(BadRequest(ex));
            }
        }