Beta 1.0.0.1
Add 1, User Controller 2. Create User Endpoint
This commit is contained in:
@@ -0,0 +1,26 @@
|
|||||||
|
using APISocietyToolBox.Data;
|
||||||
|
using APISocietyToolBox.Models;
|
||||||
|
using APISocietyToolBox.Functions;
|
||||||
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
using System.Security.Cryptography;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
using Microsoft.Data.SqlClient;
|
||||||
|
|
||||||
|
namespace APISocietyToolBox.Controllers
|
||||||
|
{
|
||||||
|
[Route("api/[controller]")]
|
||||||
|
[ApiController]
|
||||||
|
public class UsersController : Controller
|
||||||
|
{
|
||||||
|
private readonly DataContext _Context;
|
||||||
|
|
||||||
|
public UsersController(DataContext context)
|
||||||
|
{
|
||||||
|
_Context = context;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user