public List <tbl_100_WIP_Materials> GetByNo(int yearused, string itemno, string partno) { try { if (itemno == null || partno == null) { throw new Exception("Invalid Parameter!"); } return(wipmatdal.GetByNo(yearused, itemno, partno)); } catch (Exception ex) { throw ex; } }
//Get Sub private tbl_100_WIP GetSubDatas(int yearused, string itemno, string partno, tbl_100_WIP exist) { exist.WIPMaterials = wipmatdal.GetByNo(yearused, itemno, partno); return(exist); }