[AllowAnonymous] Controll
This commit is contained in:
parent
81262f19d6
commit
3aca487ee6
|
|
@ -980,7 +980,7 @@ namespace HRM.UI.Controllers
|
||||||
|
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
[Route("getAdminPayrollTypes")]
|
[Route("getAdminPayrollTypes")]
|
||||||
[AllowAnonymous]
|
//[AllowAnonymous]
|
||||||
public ActionResult GetAdminPayrollTypes()
|
public ActionResult GetAdminPayrollTypes()
|
||||||
{
|
{
|
||||||
CurrentUser currentUser = CurrentUser.GetCurrentUser(HttpContext.User);
|
CurrentUser currentUser = CurrentUser.GetCurrentUser(HttpContext.User);
|
||||||
|
|
|
||||||
|
|
@ -1409,7 +1409,7 @@ namespace HRM.UI.Controllers.Basic
|
||||||
return Ok(items);
|
return Ok(items);
|
||||||
}
|
}
|
||||||
[HttpPost("uploadHallOfFame")]
|
[HttpPost("uploadHallOfFame")]
|
||||||
[AllowAnonymous]
|
//[AllowAnonymous]
|
||||||
public ActionResult uploadHallOfFame()
|
public ActionResult uploadHallOfFame()
|
||||||
{
|
{
|
||||||
HallOfFame item = new HallOfFame();
|
HallOfFame item = new HallOfFame();
|
||||||
|
|
|
||||||
|
|
@ -3000,7 +3000,7 @@ namespace HRM.UI
|
||||||
|
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
[Route("compareFSUploadData")]
|
[Route("compareFSUploadData")]
|
||||||
[AllowAnonymous]
|
//[AllowAnonymous]
|
||||||
public ActionResult CompareFSUploadData()
|
public ActionResult CompareFSUploadData()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -834,7 +834,7 @@ namespace HRM.UI.Controllers
|
||||||
|
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
[Route("get-download-file")]
|
[Route("get-download-file")]
|
||||||
[AllowAnonymous]
|
//[AllowAnonymous]
|
||||||
[IgnoreAntiforgeryToken]
|
[IgnoreAntiforgeryToken]
|
||||||
[ProducesResponseType(StatusCodes.Status200OK)]
|
[ProducesResponseType(StatusCodes.Status200OK)]
|
||||||
public async Task<IActionResult> GetDownloadFile(dynamic data)
|
public async Task<IActionResult> GetDownloadFile(dynamic data)
|
||||||
|
|
@ -867,7 +867,7 @@ namespace HRM.UI.Controllers
|
||||||
|
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
[Route("get-download-file-cv")]
|
[Route("get-download-file-cv")]
|
||||||
[AllowAnonymous]
|
//[AllowAnonymous]
|
||||||
[IgnoreAntiforgeryToken]
|
[IgnoreAntiforgeryToken]
|
||||||
[ProducesResponseType(StatusCodes.Status200OK)]
|
[ProducesResponseType(StatusCodes.Status200OK)]
|
||||||
public async Task<IActionResult> GetDownloadFileCV(dynamic data)
|
public async Task<IActionResult> GetDownloadFileCV(dynamic data)
|
||||||
|
|
@ -2907,7 +2907,7 @@ namespace HRM.UI.Controllers
|
||||||
//}
|
//}
|
||||||
|
|
||||||
[HttpPost("readPDf")]
|
[HttpPost("readPDf")]
|
||||||
[AllowAnonymous]
|
//[AllowAnonymous]
|
||||||
public ActionResult readPDF()
|
public ActionResult readPDF()
|
||||||
{
|
{
|
||||||
var remoteIpAddress = HttpContext.Connection.RemoteIpAddress;
|
var remoteIpAddress = HttpContext.Connection.RemoteIpAddress;
|
||||||
|
|
|
||||||
|
|
@ -496,7 +496,7 @@ namespace HRM.UI.Controllers
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
[HttpPost("uploadTrainingMaterialfiles")]
|
[HttpPost("uploadTrainingMaterialfiles")]
|
||||||
[AllowAnonymous]
|
//[AllowAnonymous]
|
||||||
public ActionResult uploadTrainingMaterialfiles(List<IFormFile> files)
|
public ActionResult uploadTrainingMaterialfiles(List<IFormFile> files)
|
||||||
{
|
{
|
||||||
//empFileupload item = new empFileupload();
|
//empFileupload item = new empFileupload();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user