public string GetCurrentStatus(UserSelectedData userSelectedData) { try { var client = GetDbClient(); // get device of location var deviceInLocations = GetDevicesInLocation(client, userSelectedData); if (deviceInLocations.Any()) { var rooms = QueryInformationOfRooms(client, deviceInLocations); return(_messageBuilderService.BuildStatusInfoMessage(userSelectedData.KeyInfo, rooms)); } else { return(_messageBuilderService.BuildNotFoundMessage(userSelectedData)); } } catch (Exception ex) { } return(Resources.Resource.HelpWithInstruction); }