mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
migrated to ASP.Net Core
This commit is contained in:
25
WebfrontCore/Controllers/PenaltyController.cs
Normal file
25
WebfrontCore/Controllers/PenaltyController.cs
Normal file
@ -0,0 +1,25 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using SharedLibrary;
|
||||
using SharedLibrary.Dtos;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using WebfrontCore.ViewComponents;
|
||||
|
||||
namespace WebfrontCore.Controllers
|
||||
{
|
||||
public class PenaltyController : Controller
|
||||
{
|
||||
public IActionResult List()
|
||||
{
|
||||
ViewBag.Title = "Penalty List";
|
||||
return View();
|
||||
}
|
||||
|
||||
public async Task<IActionResult> ListAsync(int offset = 0)
|
||||
{
|
||||
return View("_List", offset);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user