Example #1
0
        private void UpdMovie()
        {
            if (IsBusy)
            {
                return;
            }

            if (!SelMovie.IsDirty)
            {
                return;
            }

            IsBusy = true;
            if (SelMovie.IsNew)
            {
                _serviceAgent.InsertMovie(SelMovie.SingleMovie, OnUserCallback);
            }
            else
            {
                _serviceAgent.UpdateMovie(SelMovie.SingleMovie, OnUserCallback);
            }
        }