hrms-api-recruit/Controllers/RecruitController.cs
Suphonchai Phoonsawat b2abfe9e87 Restucture Project
2023-03-17 14:24:43 +07:00

57 lines
No EOL
1.7 KiB
C#

using BMA.EHR.Recruit.Service.Responses;
using BMA.EHR.Recruit.Service.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Swashbuckle.AspNetCore.Annotations;
using BMA.EHR.Recruit.Service.Data;
namespace BMA.EHR.Recruit.Service.Controllers
{
[Route("api/v{version:apiVersion}/recruit")]
[ApiVersion("1.0")]
[ApiController]
[Produces("application/json")]
[Authorize]
[SwaggerTag("จัดการข้อมูลการสอบแข่งขัน")]
public class RecruitController : BaseController
{
#region " Fields "
private readonly ApplicationDbContext _context;
private readonly DocumentService _documentService;
private readonly IWebHostEnvironment _webHostEnvironment;
private readonly RecruitService _recruitService;
#endregion
#region " Constructor and Destructor "
public RecruitController(ApplicationDbContext context,
DocumentService documentService,
IWebHostEnvironment webHostEnvironment,
RecruitService recruitService)
{
_context = context;
_documentService = documentService;
_webHostEnvironment = webHostEnvironment;
_recruitService = recruitService;
}
#endregion
#region " Methods "
#region " จัดการรอบการสมัครสอบแข่งขัน "
#endregion
[HttpGet]
public async Task<ActionResult<ResponseObject>> GetsAsync()
{
return Success("OK");
}
#endregion
}
}