Exemplo n.º 1
0
        public async Task <IActionResult> CreateSize(int productId, string size)
        {
            await _styleService.CreateSize(size);

            return(RedirectToAction("Edit", new { id = productId }));
        }