Esempio n. 1
0
        public ActionResult EditClient(Client client, IEnumerable <int> DisabilityIds)
        {
            _clientServices.EditClientDetails(client, DisabilityIds);

            var clientId = client.ClientID;

            return(RedirectToAction("EditClient", new { clientId }));


            //sidenote: was working with default return View() before, MVC Convention that it goes back to the original HttpGet which already had the id provided
        }