Exemple #1
0
        public async void InitializeAsync()
        {
            using (StartOperation())
            {
                Clients = await GetClientsOperation.ExecuteAsync();

                var user = SecurityManager.GetCurrentUser();
                _currentEmployee = await GetEmployeeOperation.ExecuteAsync(user.Id);
            }
        }
Exemple #2
0
        public async void InitializeAsync()
        {
            using (StartOperation())
            {
                Clients = await GetClientsOperation.ExecuteAsync();

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

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