2024-08-21 17:39:10 +00:00
|
|
|
|
using Microsoft.AspNetCore.Components;
|
|
|
|
|
using TSC2.Components.CSharp;
|
2024-07-31 11:25:16 +00:00
|
|
|
|
|
|
|
|
|
namespace TSC2.Components.Pages
|
|
|
|
|
{
|
|
|
|
|
public partial class Info : ComponentBase
|
|
|
|
|
{
|
|
|
|
|
[Parameter]
|
|
|
|
|
public string Shop { get; set; } = "DEFAULT_NAME";
|
2024-08-21 17:39:10 +00:00
|
|
|
|
[Parameter] public string UniqueID { get; set; } = "-1";
|
2024-07-31 11:25:16 +00:00
|
|
|
|
|
2024-08-21 17:39:10 +00:00
|
|
|
|
protected override void OnInitialized() // Executes every page load; run inexpensive rendering code here
|
2024-07-31 11:25:16 +00:00
|
|
|
|
{
|
2024-08-21 17:39:10 +00:00
|
|
|
|
//DatabaseManager
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void LeaveReviewDebug()
|
|
|
|
|
{
|
|
|
|
|
DatabaseManager.AddReview(UniqueID);
|
2024-07-31 11:25:16 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|