public CustomerController()
 {
     Repo = RepoFactory.GetCustomerRepo();
     Security = new Security();
     StatusRepo = RepoFactory.GetChallengeStatusRepo();
     ChalRepo = RepoFactory.GetChallengeRepo();
     TokenRepo = RepoFactory.GetPushServiceTokenRepo();
 }
Exemplo n.º 2
0
        public static IPushServiceTokenRepository GetPushServiceTokenRepo()
        {
            if (tokenRepo == null)
                tokenRepo = new PushServiceTokenRepository();

            return tokenRepo;
        }