public void CambiarPassword(string newpass, string oldpass) { try { Utils.WriteMessage(BUsuario.CambiarPassword(Authentication.UserLogued.Id, newpass, oldpass)); } catch (Exception Exception) { Utils.Write( ResponseType.JSON, "{Code: 1, ErrorMessage: \"" + Exception.Message + "\" }"); } }