[AllowAnonymous] Controll
This commit is contained in:
parent
81262f19d6
commit
3aca487ee6
|
|
@ -980,7 +980,7 @@ namespace HRM.UI.Controllers
|
|||
|
||||
[HttpGet]
|
||||
[Route("getAdminPayrollTypes")]
|
||||
[AllowAnonymous]
|
||||
//[AllowAnonymous]
|
||||
public ActionResult GetAdminPayrollTypes()
|
||||
{
|
||||
CurrentUser currentUser = CurrentUser.GetCurrentUser(HttpContext.User);
|
||||
|
|
|
|||
|
|
@ -1409,7 +1409,7 @@ namespace HRM.UI.Controllers.Basic
|
|||
return Ok(items);
|
||||
}
|
||||
[HttpPost("uploadHallOfFame")]
|
||||
[AllowAnonymous]
|
||||
//[AllowAnonymous]
|
||||
public ActionResult uploadHallOfFame()
|
||||
{
|
||||
HallOfFame item = new HallOfFame();
|
||||
|
|
|
|||
|
|
@ -3000,7 +3000,7 @@ namespace HRM.UI
|
|||
|
||||
[HttpPost]
|
||||
[Route("compareFSUploadData")]
|
||||
[AllowAnonymous]
|
||||
//[AllowAnonymous]
|
||||
public ActionResult CompareFSUploadData()
|
||||
{
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -496,7 +496,7 @@ namespace HRM.UI.Controllers
|
|||
#endregion
|
||||
|
||||
[HttpPost("uploadTrainingMaterialfiles")]
|
||||
[AllowAnonymous]
|
||||
//[AllowAnonymous]
|
||||
public ActionResult uploadTrainingMaterialfiles(List<IFormFile> files)
|
||||
{
|
||||
//empFileupload item = new empFileupload();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user