initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using MediatR;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace ASPNET.BackEnd.Common.Base;
|
||||
|
||||
[ApiController]
|
||||
[Route("api/[controller]/[action]")]
|
||||
public abstract class BaseApiController : ControllerBase
|
||||
{
|
||||
protected readonly ISender _sender;
|
||||
|
||||
protected BaseApiController(ISender sender)
|
||||
{
|
||||
_sender = sender;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user