mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
Seperated the application back into a seperate project
webfront is just a library now
This commit is contained in:
@ -28,7 +28,7 @@ namespace WebfrontCore.ViewComponents
|
||||
|
||||
}
|
||||
|
||||
var penalties = await IW4MAdmin.ApplicationManager.GetInstance().GetPenaltyService().GetRecentPenalties(15, offset);
|
||||
var penalties = await Program.Manager.GetPenaltyService().GetRecentPenalties(15, offset);
|
||||
var penaltiesDto = penalties.Select(p => new PenaltyInfo()
|
||||
{
|
||||
OffenderId = p.OffenderId,
|
||||
|
Reference in New Issue
Block a user