mirror of
https://github.com/ivanch/tcc.git
synced 2025-09-13 16:01:50 +00:00
ajustando ASP com Flask
This commit is contained in:
@@ -50,6 +50,8 @@ namespace TCC.Controllers
|
||||
MemoryStream mstream = new MemoryStream();
|
||||
await HttpContext.Request.Body.CopyToAsync(mstream);
|
||||
mstream.Position = 0;
|
||||
|
||||
ImageService.SaveImage(mstream);
|
||||
mstream.Close();
|
||||
|
||||
return Ok();
|
||||
|
Reference in New Issue
Block a user