Exemple #1
0
        public async Task <IActionResult> Edit(int id)
        {
            Servico servico = await _servicoRepositorio.ObterPeloId(id);

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

            return(View(servico));
        }