Esempio n. 1
0
        public ActionResult <ServcioViewModel> Get(string identificacion)
        {
            var usuario = _servicioService.BuscarxIdentificacion(identificacion);

            if (usuario == null)
            {
                return(NotFound());
            }
            var usuarioViewModel = new ServcioViewModel(usuario);

            return(usuarioViewModel);
        }