public static Boolean UpdateDisConnectedSupply(DisConnectedSupplyClass DisConnected) { Boolean flag = false; try { Icontext objtext = new BALDisConnectedSupply(); flag = objtext.UpdateRecord(DisConnected); } catch (Exception ex) { throw; } return flag; }
public static DAL.DisConnectedSupplyList DisConnectedSupplyView(String DisConnectedId) { try { Icontext objinter = new BALDisConnectedSupply(); DAL.DisConnectedSupplyList DisConnected = (DAL.DisConnectedSupplyList)objinter.ViewRecord(Convert.ToInt64(DisConnectedId)); return DisConnected; } catch (Exception ex) { throw; } }
public static DisConnectedSupplyClass EditDisConnectedSupply(String DisConnectedId) { try { Icontext objinter = new BALDisConnectedSupply(); DisConnectedSupplyClass DisConnected = (DisConnectedSupplyClass)objinter.EditRecord(Convert.ToInt64(DisConnectedId)); return DisConnected; } catch (Exception ex) { throw; } }
public static IEnumerable<DAL.DisConnectedSupplyList> DisConnectedSupplyRecordList() { try { Icontext objtext = new BALDisConnectedSupply(); IEnumerable<DAL.DisConnectedSupplyList> listRecord = (IEnumerable<DAL.DisConnectedSupplyList>)objtext.RecordList(); return listRecord; } catch (Exception ex) { throw; } }