public ActionResult DeleteItems(string materialId) { Response res = new Response(); List <object> resultList = new List <object>(); res = masterDal.DeleteItemDetails(Int32.Parse(materialId)); resultList.Add(res); resultList.Add(GetAllItems()); return(Json(resultList, JsonRequestBehavior.AllowGet)); }