public IActionResult GetUser()
        {
            var accessToken = Request.Headers["Authorization"];
            var id          = _jwtHelper.GetUserIdFromToken(accessToken);
            var user        = _cashierRepository.ReadCashier(id);

            return(Ok(new
            {
                cashierId = user.Id,
                username = user.Username,
                accessToken
            }));
        }
 public ICollection <Cashier> ReadCashier()
 {
     return(_cashierRepository.ReadCashier().ToList());
 }