Beispiel #1
0
 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"));
 }
Beispiel #2
0
        public ActionResult EditMe(Klient klient)
        {
            klient.typ = (int)Session["Type"];

            Pracownik.EdytujKlienta(klient);
            return(RedirectToAction("LoggedIndex"));
        }