PTMagic/Monitor/Pages/DCACalculator.cshtml.cs

26 lines
449 B
C#
Raw Normal View History

2018-05-22 10:11:50 +02:00
using Microsoft.AspNetCore.Mvc.RazorPages;
using System.Linq;
using Core.Main;
using Core.Main.DataObjects;
using Core.Main.DataObjects.PTMagicData;
namespace Monitor.Pages
{
public class DCACalculatorModel : _Internal.BasePageModelSecure
{
2018-05-22 10:11:50 +02:00
public ProfitTrailerData PTData = null;
public void OnGet()
{
2018-05-22 10:11:50 +02:00
base.Init();
BindData();
}
private void BindData()
{
PTData = this.PtDataObject;
2018-05-22 10:11:50 +02:00
}
}
}