public async Task <IActionResult> Post(ServicioRequestDto servicioDto)
        {
            var servicio = _mapper.Map <ServicioRequestDto, Servicio>(servicioDto);
            await _servicioService.AddServicio(servicio);

            var servicioresponseDto = _mapper.Map <Servicio, ServicioResponseDto>(servicio);
            var response            = new ApiResponse <ServicioResponseDto>(servicioresponseDto);

            return(Ok(response));
        }
        public async Task <IActionResult> Put(int id, ServicioRequestDto ususarioRequest)
        {
            var servicio = _mapper.Map <Servicio>(ususarioRequest);

            servicio.Id        = id;
            servicio.UpdateAt  = DateTime.Now;
            servicio.UpdatedBy = 1;
            await _servicioService.UpdateServicio(servicio);

            var result = new ApiResponse <bool>(true);

            return(Ok(result));
        }