public async Task <IActionResult> UpdateHardwareAsync(
            [HttpTrigger(AuthorizationLevel.Function, "put", Route = "v1/update-hardware")]
            [RequestBodyType(typeof(UpdateHardwareRequest), "Hardware update")]
            HttpRequest request,
            ILogger logger
            )
        {
            logger.LogInformation($"{System.Reflection.MethodBase.GetCurrentMethod().Name}");

            return(await Validator(request, typeof(CreateUpdateHardwareRequestValidator), async (UpdateHardwareRequest model) =>
            {
                var response = await _hardwareService.UpdateHardwareAsync(model);

                return new OkObjectResult(response);
            }));
        }