public async Task <IActionResult> GetHardwareByIdAsync(
            [HttpTrigger(AuthorizationLevel.Function, "get", Route = "v1/get-hardware-by-id")]
            HttpRequest request,
            ILogger logger)

        {
            logger.LogInformation($"{System.Reflection.MethodBase.GetCurrentMethod().Name}");
            return(await Validator(request, typeof(CreateGetHardwareByIdRequestValidator), async (GetHardwareByIdRequest model) =>
            {
                var response = await _hardwareService.GetHardwareByIdAsync(model);

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