public record Databases(
     IUserRepo UserRepo,
     IPollRepo PollRepo,
     IBadgeRepo BadgeRepo,
     IBank <User> PokeyenBank,
     IBank <User> TokensBank,
     ICommandLogger CommandLogger,
     IMessagequeueRepo MessagequeueRepo,
     IMessagelogRepo MessagelogRepo,
     ILinkedAccountRepo LinkedAccountRepo,
     ISubscriptionLogRepo SubscriptionLogRepo,
     IModLogRepo ModLogRepo,
     IResponseCommandRepo ResponseCommandRepo
     );
Exemple #2
0
 public PollRoutine(IPollRepo pollRepo, IOptionRepo optionRepo)
 {
     _pollRepo   = pollRepo;
     _optionRepo = optionRepo;
 }
Exemple #3
0
 public ResultRoutine(IPollRepo pollRepo, IOptionRepo optionRepo, IVoteRepo voteRepo)
 {
     _pollRepo   = pollRepo;
     _optionRepo = optionRepo;
     _voteRepo   = voteRepo;
 }
 public ManagePollCommands(IPollRepo pollRepo)
 {
     _pollRepo = pollRepo;
 }
Exemple #5
0
 public PollBL(IPollRepo repo)
 {
     _repo = repo;
 }
Exemple #6
0
 public PollCommands(IPollRepo pollRepo)
 {
     _pollRepo = pollRepo;
 }