public ActionResult Edit(int Id) { res = API_MenuDriver.GetMenuDetails(Id); if (res.Data != null) { if (res.Data.LstIconLarge != null) { res.Data.MnuIconLarge = res.Data.LstIconLarge.ToArray(); } if (res.Data.LstIconMedium != null) { res.Data.MnuIconMedium = res.Data.LstIconMedium.ToArray(); } if (res.Data.LstIconSmall != null) { res.Data.MnuIconSmall = res.Data.LstIconSmall.ToArray(); } if (res.Data.LstIconVerySmall != null) { res.Data.MnuIconVerySmall = res.Data.LstIconVerySmall.ToArray(); } } return(View(res)); }
public ActionResult Create() { res = new Response <Menus>(); res = API_MenuDriver.GetMenuDetails(0); return(View(res)); }