public async Task <IActionResult> Delete(int id) { var response = await _context.DeleteProduct(id); if (response == HttpStatusCode.OK) { return(RedirectToAction("Index", "Admin")); } return(RedirectToAction("Index", "Admin")); }