2018-02-21 19:29:23 -06:00
|
|
|
|
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
|
|
|
|
|
{
|
2018-03-06 01:22:19 -06:00
|
|
|
|
public class PenaltyController : BaseController
|
2018-02-21 19:29:23 -06:00
|
|
|
|
{
|
2018-03-06 01:22:19 -06:00
|
|
|
|
public IActionResult List()
|
2018-02-21 19:29:23 -06:00
|
|
|
|
{
|
|
|
|
|
ViewBag.Title = "Penalty List";
|
|
|
|
|
return View();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public async Task<IActionResult> ListAsync(int offset = 0)
|
|
|
|
|
{
|
|
|
|
|
return View("_List", offset);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|