public CustomerController()
 {
     Repo = RepoFactory.GetCustomerRepo();
     Security = new Security();
     StatusRepo = RepoFactory.GetChallengeStatusRepo();
     ChalRepo = RepoFactory.GetChallengeRepo();
     TokenRepo = RepoFactory.GetPushServiceTokenRepo();
 }
Пример #2
0
        public static IPushServiceTokenRepository GetPushServiceTokenRepo()
        {
            if (tokenRepo == null)
                tokenRepo = new PushServiceTokenRepository();

            return tokenRepo;
        }