Example #1
0
        public async Task <IActionResult> Delete(int id)
        {
            await _productApiService.DeleteAsync(id);

            return(RedirectToAction("Index", "Home"));
        }