Ejemplo n.º 1
0
        public AddCatalogPageViewModel(IWebDataGateway dataGateway, INotificationsService notificationsService, IErrorHandler errorHandler,
                                       INavigationService navigationService, ICatalogRepository catalogRepository)
        {
            _dataGateway          = dataGateway;
            _notificationsService = notificationsService;
            _errorHandler         = errorHandler;
            _navigationService    = navigationService;
            _catalogRepository    = catalogRepository;

            CatalogUrl = HTTP_PREFIX;
        }
        public AddCatalogPageViewModel(IWebDataGateway dataGateway, INotificationsService notificationsService, IErrorHandler errorHandler, 
            INavigationService navigationService, ICatalogRepository catalogRepository)
        {
            _dataGateway = dataGateway;
            _notificationsService = notificationsService;
            _errorHandler = errorHandler;
            _navigationService = navigationService;
            _catalogRepository = catalogRepository;

            CatalogUrl = HTTP_PREFIX;
        }