public JsonResult ChackList(int id) { ReclamationListViewer reclamationListViewer = new ReclamationListViewer(); reclamationListViewer.GetReclamationPlanZakaz(id); return(Json(new { data = reclamationListViewer.ReclamationsListView })); }
public JsonResult ReclamationsPlanZakazMy(int id) { @ViewBag.idPZ = id; string login = HttpContext.User.Identity.Name; ReclamationListViewer reclamationListViewer = new ReclamationListViewer(); reclamationListViewer.GetReclamationPlanZakaz(id, login, false); return(Json(new { data = reclamationListViewer.ReclamationsListView })); }