Ejemplo n.º 1
0
        public IActionResult Change(string id)
        {
            SqlConnect connect = new SqlConnect();

            connect.UpdateCommand(id);
            RedirectToActionResult redirectResult = new RedirectToActionResult("Doctor/" + TempData["clinum"], "Home", "");

            return(redirectResult);
        }