public IActionResult Login(CashierRegister cashierRegister) { var hasRegister = _cashierRepository.HasRegister(cashierRegister); if (!hasRegister) { return(NotFound()); } return(Ok(cashierRegister)); }
public IActionResult Login(CashierRegister cashierRegister) { var hasRegister = _cashierRepository.HasRegister(cashierRegister); if (!hasRegister) { return(NotFound()); } return(Ok(cashierRegister)); }