You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
483 B
17 lines
483 B
3 years ago
|
using Microsoft.AspNetCore.Mvc;
|
||
|
using Microsoft.AspNetCore.Http;
|
||
|
namespace BBWY.Server.API.Controllers
|
||
|
{
|
||
|
[Produces("application/json")]
|
||
|
[Route("Api/[Controller]/[Action]")]
|
||
|
[ApiController]
|
||
|
public class BaseApiController : ControllerBase
|
||
|
{
|
||
|
private IHttpContextAccessor httpContextAccessor;
|
||
|
public BaseApiController(IHttpContextAccessor httpContextAccessor)
|
||
|
{
|
||
|
this.httpContextAccessor = httpContextAccessor;
|
||
|
}
|
||
|
}
|
||
|
}
|