23 lines
495 B
C#
23 lines
495 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using DBConnection;
|
|
using Microsoft.AspNetCore.Http;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace WebNovelPortalAPI.Controllers
|
|
{
|
|
[Route("api/[controller]")]
|
|
[ApiController]
|
|
public class NovelController : ControllerBase
|
|
{
|
|
private readonly AppDbContext _context;
|
|
|
|
public NovelController(AppDbContext context)
|
|
{
|
|
_context = context;
|
|
}
|
|
}
|
|
}
|