Esempio n. 1
0
 public JsonResult AddNotesResource(Sys_NotesResource model)
 {
     return(Json(new
     {
         result = _notesManager.AddNotesResource(model) ? "1" : "0"
     }, JsonRequestBehavior.AllowGet));
 }
Esempio n. 2
0
 public bool AddNotesResource(Sys_NotesResource model)
 {
     model.Id = _dataAccess.AddEntity(model);
     return(model.Id > 0);
 }