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

            return(await Validator(request, typeof(CreatePostHardwareRequestValidator), async (CreateHardwareRequest model) =>
            {
                var response = await _hardwareService.CreateHardwareAsync(model);

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