Пример #1
0
 public UserService(IUserRepository userRepository, IGroupRepository groupRepository,
     IBalanceOperationRepository balanceOperationRepository, IUserGroupRepository userGroupRepository,
     IMessageRepository messageRepository)
 {
     _userRepository = userRepository;
     _groupRepository = groupRepository;
     _balanceOperationRepository = balanceOperationRepository;
     _userGroupRepository = userGroupRepository;
     _messageRepository = messageRepository;
 }
 public BalanceOperationService(IBalanceOperationRepository balanceOperationRepository)
 {
     _balanceOperationRepository = balanceOperationRepository;
 }