Example #1
0
        public static Boolean UpdateTemperatureDifference(TemperatureClass Temperature)
        {
            Boolean flag = false;
            try
            {
                Icontext objtext = new BALTemperature();
                flag = objtext.UpdateRecord(Temperature);
            }
            catch (Exception ex)
            {
                throw;
            }

            return flag;
        }
Example #2
0
 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;
     }
 }
Example #3
0
 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;
     }
 }
Example #4
0
 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;
     }
 }