public async Task <ActionResult <ServicoOutput> > GetServico(Guid id)
        {
            var servico = await _servicos.GetById(id);

            if (servico == null)
            {
                return(NotFound());
            }

            return(servico.MapTo <ServicoOutput>());
        }
        public async Task <IActionResult> AprovarServico(int id)
        {
            Servico servico = await _servicoRepository.GetById(id);

            ServicoAprovadoViewModel viewModel = new ServicoAprovadoViewModel
            {
                Id   = servico.Id,
                Nome = servico.Nome
            };

            return(View(viewModel));
        }