public IActionResult Actualizar([FromBody] Usuario usuario)
        {
            try {
                #region validacion
                if (usuario.IdUsuario == 0)
                {
                    return(StatusCode(400, new
                    {
                        Error = true,
                        Catch = "IdUsuario no puede ir vacio"
                    }));
                }

                /*if (usuario.Password == String.Empty || usuario.Password == null)
                 *  return StatusCode(400, new
                 *  {
                 *      Error = true,
                 *      Catch = "Password no puede ir vacio"
                 *  });
                 * if (usuario.NombreUsuario == String.Empty || usuario.NombreUsuario == null)
                 *  return StatusCode(400, new
                 *  {
                 *      Error = true,
                 *      Catch = "Nombre no puede ir vacio"
                 *  });*/
                if (usuario.ApellidoMaterno == String.Empty || usuario.ApellidoMaterno == null)
                {
                    return(StatusCode(400, new
                    {
                        Error = true,
                        Catch = "Apellido Materno no puede ir vacio"
                    }));
                }
                if (usuario.ApellidoPaterno == String.Empty || usuario.ApellidoPaterno == null)
                {
                    return(StatusCode(400, new
                    {
                        Error = true,
                        Catch = "Apellido Paterno no puede ir vacio"
                    }));
                }
                if (usuario.Celular != String.Empty || usuario.Celular != null)
                {
                    if (!Utils.Utils.IsNumber(usuario.Celular))
                    {
                        return(StatusCode(400, new
                        {
                            Error = true,
                            Catch = "Celular debe de ser numerico"
                        }));
                    }
                }
                else
                {
                    return(StatusCode(400, new
                    {
                        Error = true,
                        Catch = "Celular no puede ir vacio"
                    }));
                }
                if (usuario.Email != String.Empty || usuario.Email != null)
                {
                    if (!Utils.Utils.IsEMail(usuario.Email))
                    {
                        return(StatusCode(400, new
                        {
                            Error = true,
                            Catch = "Email no esta en formato valido"
                        }));
                    }
                }
                else
                {
                    return(StatusCode(400, new
                    {
                        Error = true,
                        Catch = "Email no puede ir vacio"
                    }));
                }
                #endregion
                usuarioCore      = new UsuarioCore(this.Db);
                usuario.Password = "******";

                return(StatusCode(200, new
                {
                    Error = false,
                    Edito = usuarioCore.Actualizar(usuario)
                }));
            }
            catch (Exception ex) {
                return(StatusCode(500, new
                {
                    Error = true,
                    Catch = ex.Message
                }));
            }
        }