Exemple #1
0
        public async Task <IActionResult> Update(int id, string status)
        {
            var updated = await _orders.UpdateOrderAsync(id, status);

            return(RedirectToAction("Index"));
        }