[AllowAnonymous] Controll

This commit is contained in:
Mohaimen Hasan 2026-11-08 10:49:54 +06:00
parent 81262f19d6
commit 3aca487ee6
5 changed files with 7 additions and 7 deletions

View File

@ -980,7 +980,7 @@ namespace HRM.UI.Controllers
[HttpGet]
[Route("getAdminPayrollTypes")]
[AllowAnonymous]
//[AllowAnonymous]
public ActionResult GetAdminPayrollTypes()
{
CurrentUser currentUser = CurrentUser.GetCurrentUser(HttpContext.User);

View File

@ -1409,7 +1409,7 @@ namespace HRM.UI.Controllers.Basic
return Ok(items);
}
[HttpPost("uploadHallOfFame")]
[AllowAnonymous]
//[AllowAnonymous]
public ActionResult uploadHallOfFame()
{
HallOfFame item = new HallOfFame();

View File

@ -3000,7 +3000,7 @@ namespace HRM.UI
[HttpPost]
[Route("compareFSUploadData")]
[AllowAnonymous]
//[AllowAnonymous]
public ActionResult CompareFSUploadData()
{

View File

@ -834,7 +834,7 @@ namespace HRM.UI.Controllers
[HttpPost]
[Route("get-download-file")]
[AllowAnonymous]
//[AllowAnonymous]
[IgnoreAntiforgeryToken]
[ProducesResponseType(StatusCodes.Status200OK)]
public async Task<IActionResult> GetDownloadFile(dynamic data)
@ -867,7 +867,7 @@ namespace HRM.UI.Controllers
[HttpPost]
[Route("get-download-file-cv")]
[AllowAnonymous]
//[AllowAnonymous]
[IgnoreAntiforgeryToken]
[ProducesResponseType(StatusCodes.Status200OK)]
public async Task<IActionResult> GetDownloadFileCV(dynamic data)
@ -2907,7 +2907,7 @@ namespace HRM.UI.Controllers
//}
[HttpPost("readPDf")]
[AllowAnonymous]
//[AllowAnonymous]
public ActionResult readPDF()
{
var remoteIpAddress = HttpContext.Connection.RemoteIpAddress;

View File

@ -496,7 +496,7 @@ namespace HRM.UI.Controllers
#endregion
[HttpPost("uploadTrainingMaterialfiles")]
[AllowAnonymous]
//[AllowAnonymous]
public ActionResult uploadTrainingMaterialfiles(List<IFormFile> files)
{
//empFileupload item = new empFileupload();