Example #1
0
 public async void InitializeAsync()
 {
     using (StartOperation())
     {
         CurrentEmployee = await GetEmployeeOperation.ExecuteAsync(SecurityManager.GetCurrentUser().Id);
     }
 }
Example #2
0
        public async void InitializeAsync()
        {
            using (StartOperation())
            {
                Clients = await GetClientsOperation.ExecuteAsync();

                var user = SecurityManager.GetCurrentUser();
                _currentEmployee = await GetEmployeeOperation.ExecuteAsync(user.Id);
            }
        }
        public async void InitializeAsync()
        {
            using (StartOperation())
            {
                Clients = await GetClientOperation.ExecuteAsync();

                _currentEmployee = await GetEmployeeOperation.ExecuteAsync(SecurityManager.GetCurrentUser().Id);

                OrderedBooks = new ObservableCollection <SaveOrderedBookModel>();
            }
        }