예제 #1
0
        public IActionResult GetById(int id)
        {
            var cashier = _cashierRepository.GetById(id);

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

            return(Ok(cashier));
        }