public ActionResult subSectors(int id) { var sl = SectorManager.GetSectorList(id); var sg = SectorGroupManager.GetSectorGroupById(id); SectorSubWrapperModel pswm = new SectorSubWrapperModel(sl, sg); return(PartialView("_Sectors", pswm)); }
// // GET: /Admin/Sector/ public ActionResult Index() { string id = FillLanguagesList(); int groupid = Convert.ToInt32(id); var list = SectorManager.GetSectorList(groupid); return(View(list)); }