public CreatePowerRequestResponse SavePowerRequest(CreatePowerRequestRequest powerrequestRequest)
        {
            var createPowerRequestResponse = new CreatePowerRequestResponse();

            var powerrequest = _messageMapper.MapToPowerRequest(powerrequestRequest.PowerRequest);

            try
            {
                _powerrequestRepository.SavePowerRequest(powerrequest);
                var powerrequestDto = _messageMapper.MapToPowerRequestDto(powerrequest);
                createPowerRequestResponse.PowerRequest = powerrequestDto;
                createPowerRequestResponse.Messages.Add("Successfully saved the power request");
                createPowerRequestResponse.StatusCode = HttpStatusCode.Created;
            }
            catch (Exception e)
            {
                var error = e.ToString();
                createPowerRequestResponse.Messages.Add(error);
                createPowerRequestResponse.StatusCode = HttpStatusCode.InternalServerError;
            }

            return(createPowerRequestResponse);
        }