public IActionResult Put([FromBody] Address Address)
        {
            var objectResult = new GeneralController().DoProcessRequest(Address, "ALTERAR");

            return(new ObjectResult(objectResult));
        }
Example #2
0
        public IActionResult PostCreate([FromBody] User User)
        {
            var objectResult = new GeneralController().DoProcessRequest(User, "SALVAR");

            return(new ObjectResult(objectResult));
        }
        public IActionResult Put(Profile Profile)
        {
            var objectResult = new GeneralController().DoProcessRequest(Profile, "ALTERAR");

            return(new ObjectResult(objectResult));
        }
Example #4
0
        public IActionResult PostLogin([FromBody] User User)
        {
            var objectResult = new GeneralController().DoProcessRequest(User, "CONSULTAR");

            return(new ObjectResult(objectResult));
        }