public async System.Threading.Tasks.Task <ActionResult> GetItemDetailById(string Id) { ItemMaster _items = new ItemMaster(); _items = Commonhelper.GetItemById(Id); return(Json(_items, JsonRequestBehavior.AllowGet)); }
public async System.Threading.Tasks.Task <ActionResult> EditItem(string Id) { ItemMaster itemMaster = Commonhelper.GetItemById(Id); return(View(itemMaster)); }