public IActionResult GetAlarmTypes() { if (repo.GetAllAlarmTypes().Any()) { return(Ok(repo.GetAllAlarmTypes())); } else { return(NotFound()); } }
public IActionResult GetAlarmTypes() { if (repo.GetAllAlarmTypes().Any()) { return(Ok(repo.GetAllAlarmTypes())); } else { return(NotFound()); } }