Refactor and reorganize code.

This commit is contained in:
2020-02-10 22:44:18 +00:00
parent ed5aacd34e
commit da352de481
345 changed files with 15117 additions and 20198 deletions

View File

@@ -4,21 +4,22 @@ namespace Marechai.Models
{
public class NewsModel
{
public readonly int AffectedId;
public readonly string Text;
public readonly string Action;
public readonly int AffectedId;
public readonly string Controller;
public readonly string ItemName;
public readonly string Text;
public readonly DateTime Timestamp;
public readonly string Controller;
public readonly string Action;
public readonly string ItemName;
public NewsModel(int affectedId, string text, DateTime timestamp, string controller, string action, string itemName)
public NewsModel(int affectedId, string text, DateTime timestamp, string controller, string action,
string itemName)
{
AffectedId = affectedId;
Text = text;
Timestamp = timestamp;
Text = text;
Timestamp = timestamp;
Controller = controller;
Action = action;
ItemName = itemName;
Action = action;
ItemName = itemName;
}
}
}