public IAsyncCommand GetLoadPlacesCommand(PlacesViewModel viewModel)
        {
            var placesService         = _container.Resolve <IPlaceService>();
            var authenticationService = _container.Resolve <IAuthenticationService>();

            return(new LoadPlacesCommand(viewModel, placesService, authenticationService));
        }
 public LogoutCommand(PlacesViewModel viewModel, IAuthenticationService authenticationService)
 {
     _authenticationService = authenticationService;
 }
예제 #3
0
 public LoadPlacesCommand(PlacesViewModel viewModel, IPlaceService placesService, IAuthenticationService authenticationService) : base(viewModel, authenticationService)
 {
     _placesService = placesService;
     _viewModel     = viewModel;
 }