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