public async Task <ActionResult <DepositDto> > GetByIDAsync(string id) { var customer = await _depositRepository.GetByIDAsync(id); return(customer != null?customer.AsDto() : NotFound()); }