public static Boolean UpdateTemperatureDifference(TemperatureClass Temperature) { Boolean flag = false; try { Icontext objtext = new BALTemperature(); flag = objtext.UpdateRecord(Temperature); } catch (Exception ex) { throw; } return flag; }
public static IEnumerable<DAL.TemperatureDifferenceList> TemperatureDifferenceRecordList() { try { Icontext objtext = new BALTemperature(); IEnumerable<DAL.TemperatureDifferenceList> listRecord = (IEnumerable<DAL.TemperatureDifferenceList>)objtext.RecordList(); return listRecord; } catch (Exception ex) { throw; } }
public static DAL.TemperatureDifferenceList TemperatureDifferenceView(String TemperatureId) { try { Icontext objinter = new BALTemperature(); DAL.TemperatureDifferenceList Temperature = (DAL.TemperatureDifferenceList)objinter.ViewRecord(Convert.ToInt64(TemperatureId)); return Temperature; } catch (Exception ex) { throw; } }
public static TemperatureClass EditTemperatureDifferencey(String TemperatureId) { try { Icontext objinter = new BALTemperature(); TemperatureClass Temperature = (TemperatureClass)objinter.EditRecord(Convert.ToInt64(TemperatureId)); return Temperature; } catch (Exception ex) { throw; } }