Пример #1
0
 public RegisterService(IUserRepository userRepository, IGamificationRepository gamificationRepository, IGroupRepository groupRepository, PetOwnerContext context)
 {
     _userRepository         = userRepository;
     _gamificationRepository = gamificationRepository;
     _groupRepository        = groupRepository;
     _context = context;
 }
Пример #2
0
 public GamificationDomainService(IGamificationRepository gamificationRepository
                                  , IGamificationActionRepository gamificationActionRepository
                                  , IGamificationLevelRepository gamificationLevelRepository
                                  , IUserBadgeRepository userBadgeRepository)
 {
     this.gamificationRepository       = gamificationRepository;
     this.gamificationActionRepository = gamificationActionRepository;
     this.gamificationLevelRepository  = gamificationLevelRepository;
     this.userBadgeRepository          = userBadgeRepository;
 }
Пример #3
0
 public GamificationController(IUserRepository userRepository, IGamificationRepository gamificationRepository)
 {
     _userRepository         = userRepository;
     _gamificationRepository = gamificationRepository;
 }