public GetDevicesOperation(SensorContext context,
                            IHttpContextAccessor httpContextAccessor,
                            IDeviceQueries deviceQueries,
                            IAdministratorAuthorization noAuthorization)
     : base(context, httpContextAccessor, noAuthorization)
 {
     _deviceQueries = deviceQueries;
 }
示例#2
0
 public DeleteUserOperation(SensorContext context,
                            IUserQueries userQueries,
                            IHttpContextAccessor httpContextAccessor,
                            IAdministratorAuthorization <UserIdDto> authorization)
     : base(context, httpContextAccessor, authorization)
 {
     _userQueries = userQueries;
 }
 public GetUsersOperation(SensorContext context,
                          IHttpContextAccessor httpContextAccessor,
                          IUserQueries userQueries,
                          IAdministratorAuthorization noAuthorization)
     : base(context, httpContextAccessor, noAuthorization)
 {
     _userQueries = userQueries;
 }