public BaseController(IAuthecantion authecantion)
 {
     auth = authecantion;
 }
Exemple #2
0
        //----------------------------------------------------------------//

        public UsersController(IRepository repository, IAuthecantion authecantionRepository)
            : base(authecantionRepository)
        {
            this.repository = repository;
        }
 public AuthorizeController(IRepository repository, IAuthecantion authecantion)
     : base(authecantion)
 {
     repositoryAuth = repository;
 }
 public HomeController(IRepository repository, IAuthecantion authecantion)
     : base(authecantion)
 {
     this.repository = repository;
 }