Пример #1
0
 public JsonResult GetOrganizations(int id)
 {
     var m = new QueryModel();
     return Json(m.Organizations(id));
 }
Пример #2
0
 public JsonResult GetDivisions(int id)
 {
     var m = new QueryModel();
     return Json(new { Divisions = m.Divisions(id), Organizations = m.Organizations(0) });
 }