private void GetAlarmById()
 {
     alarmService         = App.AlarmService;
     Alarm.IsInitFinished = false;
     alarm = alarmService.GetAlarm(id);
     Alarm.IsInitFinished = true;
 }
Esempio n. 2
0
        public HttpResponseMessage GetSingleAlarm(int id)
        {
            var result = _alarmService.GetAlarm(id);

            return(Request.CreateResponse(HttpStatusCode.OK, result));
        }