예제 #1
0
        public async Task <ActionResult <DepositDto> > GetByIDAsync(string id)
        {
            var customer = await _depositRepository.GetByIDAsync(id);

            return(customer != null?customer.AsDto() : NotFound());
        }