예제 #1
0
        public async Task <IActionResult> Edit(int id, [FromForm] EditShapeInput input)
        {
            var absolutePath = Path.Combine(_webHostEnvironment.WebRootPath, Shape.IMAGE_PATH);
            await _shapeService.Edit(id, input, absolutePath);

            return(Ok());
        }