Last commit

This commit is contained in:
nakorn
2022-08-27 11:22:12 +07:00
parent 804bb7d9f2
commit 8f2e0af11b
10 changed files with 109 additions and 85 deletions

View File

@@ -40,20 +40,20 @@ namespace TodoAPI2.Controllers
MyHelper.get_login(HttpContext, emp, Response);
if (!MyHelper.checkAuth(Configuration, HttpContext)) return Unauthorized(); // Or UnauthorizedView
if(HttpContext.Request.Cookies["emp_id"] == "152" // ผอ กลาง
|| HttpContext.Request.Cookies["emp_id"] == "180" // ประยูร สีสด
|| HttpContext.Request.Cookies["emp_id"] == "107" // ประเดิมสวัสดิ์
|| HttpContext.Request.Cookies["emp_id"] == "70" // อังคณา
|| HttpContext.Request.Cookies["emp_id"] == "69" // สาริกา
|| HttpContext.Request.Cookies["emp_id"] == "64" // ขวัญพิชา
|| HttpContext.Request.Cookies["emp_id"] == "161" // อุบลวรรณ
)
{
return View();
}
//if(HttpContext.Request.Cookies["emp_id"] == "152" // ผอ กลาง
// || HttpContext.Request.Cookies["emp_id"] == "180" // ประยูร สีสด
// || HttpContext.Request.Cookies["emp_id"] == "107" // ประเดิมสวัสดิ์
// || HttpContext.Request.Cookies["emp_id"] == "70" // อังคณา
// || HttpContext.Request.Cookies["emp_id"] == "69" // สาริกา
// || HttpContext.Request.Cookies["emp_id"] == "64" // ขวัญพิชา
// || HttpContext.Request.Cookies["emp_id"] == "161" // อุบลวรรณ
// )
//{
// return View();
//}
return View("eva_self_review_close");
//return View();
//return View("eva_self_review_close");
return View();
}
// public IActionResult eva_self_review_d()