Files
2020-12-16 10:56:58 +01:00

30 lines
772 B
C#

using SteamWare;
using System;
namespace MoonProTablet
{
public partial class Reset : BasePage
{
#region Protected Methods
protected void Page_Load(object sender, EventArgs e)
{
// se richiesto reset esplicito
string action = memLayer.ML.QSS("Action");
if (!string.IsNullOrEmpty(action))
{
Response.Redirect($"ResetAct?Action={action}");
}
else
{
Session.Clear();
// reset appConf
memLayer.ML.resetAppConf();
}
// rimanda alla pagina di reg device
Response.Redirect(memLayer.ML.CRS("mainPage"));
}
#endregion Protected Methods
}
}