예제 #1
0
        public IActionResult Login(CashierRegister cashierRegister)
        {
            var hasRegister = _cashierRepository.HasRegister(cashierRegister);

            if (!hasRegister)
            {
                return(NotFound());
            }

            return(Ok(cashierRegister));
        }