Mineplex2018-withcommit/Website/LOC.Website.Common/Models/AccountAdministrator.cs.rej

18 lines
659 B
Plaintext
Raw Normal View History

2013-08-27 17:14:08 +02:00
--- AccountAdministrator.cs
+++ AccountAdministrator.cs
@@ -187,6 +190,6 @@
{
UserId = account.AccountId,
AdminId = repository.Where<Account>(x => x.Name == punish.Admin).First().AccountId,
- PunishmentType = punish.PunishType,
- Time = DateTime.Now,
+ Category = punish.Category,
+ Date = punish.Time,
Reason = punish.Reason,
@@ -192,4 +195,4 @@
Reason = punish.Reason,
- Duration = punish.Hours,
+ Level = punish.Level,
};