Exemplo n.º 1
0
 public AddCommandHandler(IUserRepository userRepository, IUserQueries userQueries, IRoleQueries roleQueries, IUserRoleRepository userRoleRepository)
 {
     this.userRepository     = userRepository;
     this.userQueries        = userQueries;
     this.roleQueries        = roleQueries;
     this.userRoleRepository = userRoleRepository;
 }
Exemplo n.º 2
0
 public EditUser(IUserQueries userQueries, IMediator mediator, IRoleQueries roleQueries, ICurrentAuthenticatedUserProvider currentAuthenticatedUserProvider)
 {
     this._userQueries = userQueries ?? throw new ArgumentNullException(nameof(userQueries));
     this._mediator    = mediator ?? throw new ArgumentNullException(nameof(mediator));
     this._roleQueries = roleQueries ?? throw new ArgumentNullException(nameof(roleQueries));
     this._currentAuthenticatedUserProvider = currentAuthenticatedUserProvider;
 }
 public RoleMasterController(IUnitOfWorkEntityFramework iUnitOfWork,
                             IRoleCommand roleCommandRepository, IRoleQueries roleQueries, INotificationService notificationService)
 {
     _unitOfWorkEntityFramework = iUnitOfWork;
     _roleCommandRepository     = roleCommandRepository;
     _roleQueries         = roleQueries;
     _notificationService = notificationService;
 }
Exemplo n.º 4
0
 public OrderingController(IRoleQueries roleQueries, IMenuCategoryQueries menuCategoryQueries, IUnitOfWorkDapper unitOfWorkDapper, IMenuMasterQueries menuMasterQueries, ISubMenuMasterQueries subMenuMasterQueries)
 {
     _roleQueries          = roleQueries;
     _iMenuCategoryQueries = menuCategoryQueries;
     _unitOfWorkDapper     = unitOfWorkDapper;
     _menuMasterQueries    = menuMasterQueries;
     _subMenuMasterQueries = subMenuMasterQueries;
 }
Exemplo n.º 5
0
 public MenuCategoryController(IRoleQueries roleQueries,
                               INotificationService notificationService,
                               IUnitOfWorkEntityFramework iUnitOfWork,
                               IMapper mapper,
                               IMenuCategoryQueries menuCategoryQueries)
 {
     _roleQueries               = roleQueries;
     _notificationService       = notificationService;
     _unitOfWorkEntityFramework = iUnitOfWork;
     _mapper = mapper;
     _menuCategoryQueries = menuCategoryQueries;
 }
 public MenuMasterController(IRoleQueries roleQueries,
                             IUnitOfWorkEntityFramework unitOfWorkEntityFramework,
                             IMenuCategoryQueries menuCategoryQueries,
                             IMenuMasterQueries iMenuMasterQueries,
                             IMapper mapper, INotificationService notificationService)
 {
     _roleQueries         = roleQueries;
     _iUnitOfWork         = unitOfWorkEntityFramework;
     _menuCategoryQueries = menuCategoryQueries;
     _iMenuMasterQueries  = iMenuMasterQueries;
     _mapper = mapper;
     _notificationService = notificationService;
 }
Exemplo n.º 7
0
        public InsertAccountCommandHandler(IAccountRepository accountRepository, IAccountQueries accountQueries,
                                           IAccountRoleRepository accountRoleRepository, IAccountRoleQueries accountRoleQueries,
                                           IRoleRepository roleRepository, IRoleQueries roleQueries)
        {
            this.accountRepository = accountRepository;
            this.accountQueries    = accountQueries;

            this.accountRoleRepository = accountRoleRepository;
            this.accountRoleQueries    = accountRoleQueries;

            this.roleRepository = roleRepository;
            this.roleQueries    = roleQueries;
        }
Exemplo n.º 8
0
 public UserController(
     IRoleQueries roleQueries,
     IMapper mapper,
     IUnitOfWorkEntityFramework iUnitOfWorkEntityFramework,
     IUserMasterQueries userMasterQueries,
     INotificationService notificationService,
     IAssignedRolesQueries assignedRolesQueries, IProfileImageQueries profileImageQueries)
 {
     _roleQueries = roleQueries;
     _mapper      = mapper;
     _unitOfWorkEntityFramework = iUnitOfWorkEntityFramework;
     _userMasterQueries         = userMasterQueries;
     _notificationService       = notificationService;
     _assignedRolesQueries      = assignedRolesQueries;
 }
Exemplo n.º 9
0
        public UpdateAccountPartnerCommandHandler(IAccountRepository accountRepository, IAccountQueries accountQueries,
                                                  IAccountRoleRepository accountRoleRepository, IAccountRoleQueries accountRoleQueries,
                                                  IRoleRepository roleRepository, IRoleQueries roleQueries,
                                                  ICompanyQueries companyQueries)
        {
            this._accountRepository = accountRepository;
            this._accountQueries    = accountQueries;

            this._accountRoleRepository = accountRoleRepository;
            this._accountRoleQueries    = accountRoleQueries;

            this._roleRepository = roleRepository;
            this._roleQueries    = roleQueries;

            this._companyQueries = companyQueries;
        }
        public InsertAccountPartnerCommandHandler(IAccountRepository accountRepository, IAccountQueries accountQueries,
                                                  IAccountRoleRepository accountRoleRepository, IAccountRoleQueries accountRoleQueries,
                                                  IRoleRepository roleRepository, IRoleQueries roleQueries,
                                                  ICompanyQueries _companyQueries,
                                                  ISettingQueries settingQueries)
        {
            this._accountRepository = accountRepository;
            this._accountQueries    = accountQueries;

            this._accountRoleRepository = accountRoleRepository;
            this._accountRoleQueries    = accountRoleQueries;

            this._roleRepository = roleRepository;
            this._roleQueries    = roleQueries;

            this._companyQueries = _companyQueries;
            this._settingQueries = settingQueries;
        }
Exemplo n.º 11
0
 public ResourceApiController(IRoleQueries roleQueries)
 {
     this._roleQueries = roleQueries;
 }
Exemplo n.º 12
0
 public RoleController(IMediator mediator, IRoleQueries roleQueries)
 {
     _mediator    = mediator ?? throw new ArgumentNullException(nameof(mediator));
     _roleQueries = roleQueries ?? throw new ArgumentNullException(nameof(roleQueries));
 }
 public CreateRoleCommandHandler(IRoleRepository roleRepository, IRoleQueries roleQueries)
 {
     this._roleRepository = roleRepository ?? throw new ArgumentNullException(nameof(roleRepository));
     this._roleQueries    = roleQueries ?? throw new ArgumentNullException(nameof(roleQueries));
 }
Exemplo n.º 14
0
 public UpdateCommandHandler(IRoleRepository roleRepository, IRoleQueries roleQueries, IRolePermissionRepository rolePermissionRepository)
 {
     this.roleRepository           = roleRepository;
     this.roleQueries              = roleQueries;
     this.rolePermissionRepository = rolePermissionRepository;
 }
Exemplo n.º 15
0
 public DeleteRoleCommandHandler(IRoleRepository roleRepository, IRoleQueries roleQueries)
 {
     this.roleRepository = roleRepository;
     this.roleQueries    = roleQueries;
 }
 public EditUser(IRoleQueries roleQueries, IUserQueries userQueries, IMediator mediator)
 {
     this._roleQueries = roleQueries;
     this._userQueries = userQueries;
     this._mediator    = mediator;
 }
Exemplo n.º 17
0
 public EditRole(IRoleQueries roleQueries, ICurrentUserService currentUserService, IMediator mediator)
 {
     this._roleQueries        = roleQueries;
     this._currentUserService = currentUserService;
     this._mediator           = mediator;
 }
 public EditRole(IMediator mediator, IRoleQueries roleQueries)
 {
     this._mediator    = mediator ?? throw new ArgumentNullException(nameof(mediator));
     this._roleQueries = roleQueries ?? throw new ArgumentNullException(nameof(roleQueries));
 }
Exemplo n.º 19
0
 public RolesController(IMediator mediator, IRoleQueries roleQueries, IAccessTokenQueries accessTokenQueries)
 {
     this.mediator           = mediator;
     this.roleQueries        = roleQueries;
     this.accessTokenQueries = accessTokenQueries;
 }
Exemplo n.º 20
0
 public RolesController(IMediator mediator, IRoleQueries roleQueries)
 {
     this.mediator    = mediator;
     this.roleQueries = roleQueries;
 }
 public ViewRole(IRoleQueries roleQueries)
 {
     this._roleQueries = roleQueries;
 }
 public ChangeRolesCommandHandler(IRoleQueries roleQueries, IUserQueries userQueries, IUserRoleRepository userRoleRepository)
 {
     this.userRoleRepository = userRoleRepository;
     this.userQueries        = userQueries;
     this.roleQueries        = roleQueries;
 }