Exemple #1
0
 public RoutersController(
     IRoutersRepsonsityService routersRepsonsity,
     IRoles_RoutersRepsonsityService roles_RoutersRepsonsityService,
     IJwtAuthorization jwtAuthorization
     )
 {
     _routersRepsonsity = routersRepsonsity;
     _roles_RoutersRepsonsityService = roles_RoutersRepsonsityService;
     _jwtAuthorization = jwtAuthorization;
 }
Exemple #2
0
        public PerssionController(IPerssionRepsonsityService perssionRepsonsityService,
                                  IServiceProvider serviceProvider,
                                  IPessiondetailRepsonsityService pessiondetailRepsonsityService,
                                  IRoles_RoutersRepsonsityService roles_RoutersRepsonsit

                                  )
        {
            _perssionRepsonsityService = perssionRepsonsityService;
            _cacheService            = serviceProvider.GetService <MemoryCacheService>();
            _roles_RoutersRepsonsity = roles_RoutersRepsonsit;
        }