Ejemplo n.º 1
0
 public ActionResult _refreshAlarm()
 {
     if (loggedInUser != null)
     {
         bool _isTuneAllow = false;
         _isTuneAllow = ApplicationSetting.aps_enable_alarm_setting;
         if (_isTuneAllow)
         {
             string _id      = loggedInUser.Id;
             string filepath = _alarmService.ShowAlarmSetting(_id, ApplicationSetting);
             ViewBag.file_path = filepath;
         }
         else
         {
             string filepath = _alarmService._find_DefaultPath(ApplicationSetting);
             ViewBag.file_path = filepath;
         }
     }
     return(GetViewResult());
 }