Beispiel #1
0
            public async Task <Unit> Handle(SetAlarmConfigurationCommand request, CancellationToken cancellationToken)
            {
                await _deviceController.Configure(request.DeviceId, request.AccessTime, request.ArmOnClose, request.LockOnClose);

                return(Unit.Value);
            }