Example #1
0
        public HomeController(IMMORepository context,
                              IDataProtectionProvider dataProtectionProvider,
                              DataProtectionPurposeStrings dataProtectionPurposeStrings)
        {
            _context = context;

            this.protector = dataProtectionProvider.CreateProtector(dataProtectionPurposeStrings.CharacterIdRouteValue);
        }
Example #2
0
 public CharacterController(IMMORepository characterRepository,
                            UserManager <Account> userManager)
 {
     this.m_Repository  = characterRepository;
     this.m_UserManager = userManager;
 }
 public InventoryController(IMMORepository repository)
 {
     m_Repository = repository;
 }