public static Boolean UpdateFlowTemperatures(FlowTemperaturesClass Flow) { Boolean flag = false; try { Icontext objtext = new BALFlowTemperatures(); flag = objtext.UpdateRecord(Flow); } catch (Exception ex) { throw; } return flag; }
public static IEnumerable<DAL.FlowTemperaturesList> FlowTemperaturesRecordList() { try { Icontext objtext = new BALFlowTemperatures(); IEnumerable<DAL.FlowTemperaturesList> listRecord = (IEnumerable<DAL.FlowTemperaturesList>)objtext.RecordList(); return listRecord; } catch (Exception ex) { throw; } }
public static DAL.FlowTemperaturesList FlowTemperaturesView(String FlowId) { try { Icontext objinter = new BALFlowTemperatures(); DAL.FlowTemperaturesList flow = (DAL.FlowTemperaturesList)objinter.ViewRecord(Convert.ToInt64(FlowId)); return flow; } catch (Exception ex) { throw; } }
public static FlowTemperaturesClass EditFlowTemperatures(String FlowId) { try { Icontext objinter = new BALFlowTemperatures(); FlowTemperaturesClass flow = (FlowTemperaturesClass)objinter.EditRecord(Convert.ToInt64(FlowId)); return flow; } catch (Exception ex) { throw; } }