public ActionResult _AddNewListInnerQuantification(List <Master_ChicCut_QuantificationDetailViewModel> detailInner = null) { if (detailInner == null) { detailInner = new List <Master_ChicCut_QuantificationDetailViewModel>(); } Master_ChicCut_QuantificationDetailViewModel item = new Master_ChicCut_QuantificationDetailViewModel(); detailInner.Add(item); return(PartialView(detailInner)); }
public ActionResult _CreatelistInner(List <Master_ChicCut_QuantificationDetailViewModel> detail = null, List <Master_ChicCut_QuantificationMasterViewModel> QMaster = null) { if (QMaster == null) { QMaster = new List <Master_ChicCut_QuantificationMasterViewModel>(); } if (detail == null) { detail = new List <Master_ChicCut_QuantificationDetailViewModel>(); } Master_ChicCut_QuantificationDetailViewModel item = new Master_ChicCut_QuantificationDetailViewModel(); detail.Add(item); return(PartialView(detail)); }