Пример #1
0
        public ActionResult AddCustomerNote(string customerId, string text)
        {
            int cId = 0;

            Int32.TryParse(customerId, out cId);
            UserDT user = GetLoggedUser();
            NoteDT note = CustomersManager.AddCustomerNote(cId, user.Id, text);

            ViewBag.Note = note;
            return(View("NoteRow"));
        }