public DestinationViewModel(IUnitOfWork unitOfWork, IDestinationService destinationService)
        {
            _unitOfWork = unitOfWork;

            _destinationService = destinationService;

            _destinationMapper = new DestinationMapper();

            modelObjects = new List <DestinationModel>();

            //_selectedDestination = new DestinationModel();

            LoadData();

            instance = this;
        }
        public DestinationViewModel()
        {
            _unitOfWork = new UnitOfWork(new ApplicationContext());

            _destinationService = new DestinationService(_unitOfWork);

            _destinationMapper = new DestinationMapper();

            modelObjects = new List <DestinationModel>();

            //_selectedDestination = new DestinationModel();

            LoadData();

            instance = this;
        }