Example #1
0
 public JsonResult ListAll()
 {
     return(Json(ListItemRepo.GetAllItems(), JsonRequestBehavior.AllowGet));
 }
Example #2
0
 public JsonResult Delete(int id)
 {
     return(Json(ListItemRepo.Delete(id), JsonRequestBehavior.AllowGet));
 }