Beispiel #1
0
        public ActionResult AddNote(string input, string username)
        {
            DashboardModel model = new DashboardModel();

            input = input.Replace("'", "''");
            DataRow[] drs = model.AddPersonalNote(username, input);

            return(Json(new { success = true, message = drs[0][0].ToString() }));
        }