Example #1
0
 async void Save()
 {
     if (await AtCm.SaveBySvc(_fv.Data.To <User>()))
     {
         _needRefresh = true;
         if (_miAdd.Visibility == Visibility.Visible)
         {
             CreateUser();
             _fv.GotoFirstCell();
         }
         else
         {
             Close();
         }
     }
 }