Exemplo n.º 1
0
 /// <summary>
 /// Method to delete alarm information
 /// </summary>
 /// <param name="alarm">alarm</param>
 /// <returns>Affected rows</returns>
 public int DeleteAlarm(AlarmInfo alarm)
 {
     try {
         IList <AlarmInfo> alarms = new List <AlarmInfo>();
         alarms.Add(alarm);
         return(alarmDal.DeleteAlarms(alarms));
     }
     catch {
         throw;
     }
 }