Thinking about shunting most of the file parsing into db services since it should be done once
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using fxl.codes.kisekae.Models;
|
||||
using fxl.codes.kisekae.Services;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace fxl.codes.kisekae.Controllers
|
||||
{
|
||||
public class PlayController : Controller
|
||||
{
|
||||
private readonly DatabaseService _databaseService;
|
||||
|
||||
public PlayController(DatabaseService databaseService)
|
||||
{
|
||||
_databaseService = databaseService;
|
||||
}
|
||||
|
||||
public async Task<IActionResult> Index(int id, int configId)
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user