public ActionResult EditAccount(int?id) { ClientModel model = ClientDAL.GetClient(id); //bool done = ClientDAL.UpdateClient(ClientDAL.GetClient(id)); //if (done) //{ // ViewBag.Message = "Údaje úspešne aktualizované!"; //} //else //{ // ViewBag.Message = "Nastala chyba! Modifikácia údajov neúspešná! Kontaktujte centrum pomoci."; //} return(View(model)); }
public ActionResult DeleteAccount(int id) { ClientModel model = ClientDAL.GetClient(id); return(View(model)); }