コード例 #1
0
ファイル: PMSController.cs プロジェクト: mehabadi/HPMS
 public void GetLogonUser()
 {
     userService.GetLogonUser((res, exp) =>
     {
         if (exp == null)
         {
             BeginInvokeOnDispatcher(() =>
             {
                 if (!validateUser(res))
                 {
                     return;
                 }
                 CurrentUser  = res;
                 LoggedInUser = res;
                 GetCurrentPeriod();
                 createCustomFieldEntityList();
                 Publish(new MainWindowUpdateArgs());
             });
         }
         else
         {
             HideBusyIndicator();
             HandleException(exp);
         }
     });
 }