public IActionResult GetAll() { var clientId = User.Claims.FirstOrDefault(p => p.Type == "customerId"); if (clientId == null) { return(BadRequest("something went wrong with the credentials")); } return(Ok(_customerApplicationService.GetBankTransfersById(int.Parse(clientId.Value)))); }