Example #1
0
        public ActionResult <CashierResponse> FindCashierById(int id)
        {
            var cashier = _cashierRepository.FindCashierResponseById(id);

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

            return(Ok(cashier));
        }