Ejemplo n.º 1
0
        public async Task <IActionResult> DeleteProduct(int?id)
        {
            if (id != null)
            {
                var result = await _dataProcessingConveyor.ProductAndOrdersAsync((int)id);

                return(View(result));
            }
            return(NotFound());
        }