public ActionResult HasListDelete() { string arry = Request.Form["Jsondataid"]; ServiceComments_Collect service = new ServiceComments_Collect(); int monitor = service.HasListComments_CollectDelete(arry); return(Json(monitor)); }
public ActionResult HasListComments_CollectJson() { //var user = Session["User"] as User; var uId = Guid.Parse("9393ed42-7b3f-e711-afa3-002564ba5c19"); ServiceComments_Collect service = new ServiceComments_Collect(); Comments_CollectModel model = new Comments_CollectModel(); List <Comments_Collect> list = service.HasListComments_Collect(uId); model.ListComments_CollectModel = service.TurnListComments_CollectModel(list); return(Json(model)); }