Пример #1
0
        public IHttpActionResult buscarUsuarios()
        {
            var usa001001 = new Ustba001001();

            var lUsa001001 = usa001001.buscarLista();

            return(Ok(lUsa001001));
        }
Пример #2
0
        public IHttpActionResult alterarUsuario([FromBody] Ustba001001 pUsa001001)
        {
            var usa001001 = new Ustba001001();

            usa001001.alterar(pUsa001001);

            return(Ok("ok"));
        }
Пример #3
0
        public IHttpActionResult deletarUsuario(int idUsa001001)
        {
            var usa001001 = new Ustba001001();

            usa001001.deletar(idUsa001001);

            return(Ok("ok"));
        }
Пример #4
0
        public IHttpActionResult buscarUsuario(int usa001001id)
        {
            var usa001001 = new Ustba001001();

            usa001001 = usa001001.buscar(usa001001id);

            return(Ok(usa001001));
        }