public IActionResult GetCashierById(string password) { var cashier = _cashierRepository.GetCashierIdByPassword(password); if (cashier != 0) { return(Ok(cashier)); } return(NotFound()); }
public IActionResult GetCashierById(string password) { var cashier = _cashierRepository.GetCashierIdByPassword(password); if (cashier != 0) { return(Ok(cashier)); } return(NotFound()); }