public void ListStates() { try { if (_view.FilterList.Count > 0) { using (_locationModel = new LocationModel()) { _view.StateList = _locationModel.ListStatesByIds(_view.FilterList); } } else _view.StateList = new List<CS_State>(); } catch (Exception ex) { Logger.Write(string.Format("An Error has ocurred while trying to load the state list.\n{0}\n{1}", ex.Message, ex.StackTrace)); _view.DisplayMessage("An Internal Error has ocurred while trying to load the state list.", false); } }