Move all database logic in machine view out of the view into the controller.

This commit is contained in:
2020-05-22 04:43:44 +01:00
parent 113b9fbad8
commit b3414bde1d
9 changed files with 359 additions and 152 deletions

View File

@@ -0,0 +1,19 @@
using System;
namespace Marechai.ViewModels
{
public class GpuViewModel
{
public int Id { get; set; }
public string Name { get; set; }
public int? CompanyId { get; set; }
public string Company { get; set; }
public string ModelCode { get; set; }
public DateTime? Introduced { get; set; }
public string Package { get; set; }
public string Process { get; set; }
public float? ProcessNm { get; set; }
public float? DieSize { get; set; }
public long? Transistors { get; set; }
}
}