Exemple #1
0
        public async Task <IActionResult> Create([FromForm] CreateShapeInput input)
        {
            var absolutePath = Path.Combine(_webHostEnvironment.WebRootPath, Shape.IMAGE_PATH);

            await _shapeService.Create(input, absolutePath);

            return(Ok());
        }