public ActionResult EditClient(Klient Client) { Pracownik.EdytujKlienta(Client); this.GetLog().Info("Customer(" + Client.imie + " " + Client.nazwisko + ") detail have been changed"); //return Content(empl.id + " " + empl.email + " " + empl.haslo + " " + empl.Type); return(RedirectToAction("EditClients")); }
public ActionResult EditMe(Klient klient) { klient.typ = (int)Session["Type"]; Pracownik.EdytujKlienta(klient); return(RedirectToAction("LoggedIndex")); }