public IActionResult CheckLogin([FromBody] TblEmployeesDTO tblEmployeeDTO)
        {
            TblEmployeesDAO dao      = TblEmployeesDAO.getInstance();
            IActionResult   response = Unauthorized();

            try
            {
                TblEmployeesDTO dto = dao.CheckLogin(tblEmployeeDTO.idEmployee, tblEmployeeDTO.password);
                if (dto != null)
                {
                    string token = JwtUtil.GenerateJSONWebToken(dto, _config);
                    HttpContext.Response.Headers.Add("token", token);
                    response = Ok(dto);
                }
                return(response);
            }
            catch (Exception e)
            {
                Console.WriteLine(e.Message);
            }
            return(Unauthorized());
        }