public static SupplyMaster EditSupply(String SupplyID) { try { Icontext objinter = new BALSupply(); SupplyMaster Supply = (SupplyMaster)objinter.EditRecord(Convert.ToInt64(SupplyID)); return Supply; } catch (Exception ex) { throw; } }
public static Boolean CreateSupply(SupplyMaster supply) { Boolean flag = false; try { Icontext objtext = new BALSupply(); flag = objtext.CreateRecord(supply); } catch (Exception ex) { throw; } return flag; }
public static IEnumerable<DAL.SupplyList> SupplierList() { try { Icontext objtext = new BALSupply(); IEnumerable<DAL.SupplyList> listRecord = (IEnumerable<DAL.SupplyList>)objtext.RecordList(); return listRecord; } catch (Exception ex) { throw; } }
public static SupplyList ViewSupply(String SupplyID) { try { Icontext objinter = new BALSupply(); SupplyList vwSupply = (SupplyList)objinter.ViewRecord(Convert.ToInt64(SupplyID)); return vwSupply; } catch (Exception ex) { throw; } }
public static List<SelectListItem> SearchFieldDDList() { ISearchField sobj = new BALSupply(); List<SelectListItem> lstsearchField = sobj.SearchField(); return lstsearchField; }