Пример #1
0
        public ActionResult Update(Note note)
        {
            Note     notes = noteBLL.GetNote(note.NoteID);
            Customer cust  = Session["Customer"] as Customer;
            Employee emp   = Session["Login"] as Employee;

            notes.CustomerID = cust.CustomerID;
            notes.NoteName   = note.NoteName;
            notes.Detail     = note.Detail;
            notes.Status     = note.Status;
            noteBLL.Update(notes);
            return(RedirectToAction("Index"));
        }