Exemplo n.º 1
0
 public EntityController(IOrganizationPermissionRepository organizationRepository, INotificationPermissionRepository notificationRepository, IOkrPermissionRepository okrRepository, IWallPermissionRepository wallRepository, IEntityRepository baseRepository, IUserRepository userRepository, IUser_EntityRepository userEntityRepository, IChildEntityRepository childEntityRepository)
 {
     _entityRepository      = baseRepository;
     _userRepository        = userRepository;
     _userEntityRepository  = userEntityRepository;
     _childEntityRepository = childEntityRepository;
     //_permissionRepository = permissionRepository;
     _wallRepository         = wallRepository;
     _okrRepository          = okrRepository;
     _notificationRepository = notificationRepository;
     _organizationRepository = organizationRepository;
 }
Exemplo n.º 2
0
 public UserController(OrganizationDBContext context, IChildEntityRepository childRepository, IOrganizationPermissionRepository organizationRepository, INotificationPermissionRepository notificationRepository, IOkrPermissionRepository okrRepository, IWallPermissionRepository wallRepository, IUserRepository userRepository, IUser_EntityRepository userEntityRepository, IEntityRepository entityRepository)
 {
     _userRepository       = userRepository;
     _userEntityRepository = userEntityRepository;
     _entityRepository     = entityRepository;
     //_permissionRepository = permissionRepository;
     _wallRepository         = wallRepository;
     _okrRepository          = okrRepository;
     _notificationRepository = notificationRepository;
     _organizationRepository = organizationRepository;
     _childRepository        = childRepository;
     this.context            = context;
 }