public IActionResult GetCashierByUsernameAndPassword(string username, string password) { var cashier = _cashierRepository.GetCashierByUsernameAndPassword(username, password); if (cashier != null) { return(Ok(cashier)); } return(NotFound()); }
public IActionResult GetCashierByUsernameAndPassword(string username, string password) { var cashier = _cashierRepository.GetCashierByUsernameAndPassword(username, password); if (cashier != null) { return(Ok(cashier)); } return(NotFound()); }