コード例 #1
0
        public IActionResult GetCashierByUsernameAndPassword(string username, string password)
        {
            var cashier = _cashierRepository.GetCashierByUsernameAndPassword(username, password);

            if (cashier != null)
            {
                return(Ok(cashier));
            }
            return(NotFound());
        }