Loading...
16 |
17 |
18 | An unhandled error has occurred.
19 |
Reload
20 |
🗙
21 |
22 |
23 |
24 |
52 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/WebMatBotV3/Server/.config/dotnet-tools.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": 1,
3 | "isRoot": true,
4 | "tools": {
5 | "dotnet-ef": {
6 | "version": "5.0.1",
7 | "commands": [
8 | "dotnet-ef"
9 | ]
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/WebMatBotV3/Server/Controllers/CommandController.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.AspNetCore.Mvc;
2 | using Microsoft.Extensions.Logging;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using WebMatBotV3.Shared;
8 |
9 | namespace WebMatBotV3.Server.Controllers
10 | {
11 | [ApiController]
12 | [Route("[controller]")]
13 | public class CommandController : ControllerBase
14 | {
15 | private readonly DataContext dataContext;
16 |
17 | [HttpGet("{command}")]
18 | public async Task