Example #1
0
        public ShellViewModel(IEventAggregator events, SalesViewModel salesViewModel,
                              ILoggedInUserModel user, IApiClientInitializer apiClientInitializer)
        {
            _salesViewModel       = salesViewModel;
            _user                 = user;
            _apiClientInitializer = apiClientInitializer;

            events.SubscribeOnUIThread(this);

            ActivateItemAsync(IoC.Get <LoginViewModel>(), CancellationToken.None);
        }
Example #2
0
 public UserEndpoint(IApiClientInitializer apiClientInitializer)
 {
     _apiClientInitializer = apiClientInitializer;
 }
 public ProductEndpoint(IApiClientInitializer apiClientInitializer)
 {
     _apiClientInitializer = apiClientInitializer;
 }
Example #4
0
 public Authentication(IApiClientInitializer apiClientInitializer, ILoggedInUserModel loggedInUser)
 {
     _apiClientInitializer = apiClientInitializer;
     _loggedInUser = loggedInUser;
 }
Example #5
0
 public SaleEndpoint(IApiClientInitializer apiClientInitializer)
 {
     _apiClientInitializer = apiClientInitializer;
 }