Ejemplo n.º 1
0
 public UsersController(
     ILogger <UsersController> logger,
     IUsersDataAccess usersDataAccess)
 {
     this.logger          = logger;
     this.usersDataAccess = usersDataAccess;
 }
 public FavoriteTeamsViewModel(INavigationService navigationService)
 {
     _navigationService = navigationService;
     daTeams = new ChampionshipsAPIAccess();
     daUsers = new UsersAPIAccess();
     loader = new ResourceLoader();
 }
 public UsersController(
     IUsersDataAccess usersDataAccess,
     ITokenManipulation tokenManipulation,
     IMailService mailService,
     IVerificationTokenDataAccess verificationTokenDataAccess,
     ILogger <UsersController> logger)
 {
     _usersDataAccess             = usersDataAccess;
     _tokenManipulation           = tokenManipulation;
     _mailService                 = mailService;
     _verificationTokenDataAccess = verificationTokenDataAccess;
     _logger = logger;
 }
        public MainViewModel(INavigationService navigationService)
        {
            _navigationService = navigationService;
            da = new UsersAPIAccess();
            loader = new ResourceLoader();
            //isLoading = false;

            var settings = Windows.Storage.ApplicationData.Current.LocalSettings;
            if (settings.Values["login"] != null)
                login = settings.Values["login"].ToString();
            if (settings.Values["password"] != null)
                password = settings.Values["password"].ToString();
        }
Ejemplo n.º 5
0
 public UsersServices(IUsersDataAccess usersDataAccess)
 {
     _usersDataAccess = usersDataAccess;
 }
 public TeamViewModel(INavigationService navigationService = null)
 {
     _navigationService = navigationService;
     daTeams = new ChampionshipsAPIAccess();
     daUsers = new UsersAPIAccess();
     isFavorite = false;
     loader = new ResourceLoader();
 }
Ejemplo n.º 7
0
 public UserAdminManager(IUsersDataAccess userDataAccess)
 {
     this.userDataAccess = userDataAccess;
 }
Ejemplo n.º 8
0
 public UsersService(IUsersDataAccess da, ICustomAuthenticationDataAccess customAuthenticationDa, INotificationsService notificationService)
 {
     _dataAccess = da;
     _customAuthenticationDataAccess = customAuthenticationDa;
     _notificationService = notificationService;
 }
Ejemplo n.º 9
0
 public UsersManager(IUsersDataAccess usersDataAccess)
 {
     _UsersDataAccess = usersDataAccess;
 }
 public SubscriptionViewModel(INavigationService navigationService)
 {
     _navigationService = navigationService;
     da = new UsersAPIAccess();
     loader = new ResourceLoader();
 }