public async Task <IActionResult> Get()
        {
            var query  = new GetlAllClientsQuery();
            var result = await _mediator.Send(query);

            return(Ok(result));
        }
 public async Task <IEnumerable <Client> > Handle(GetlAllClientsQuery request, CancellationToken cancellationToken)
 {
     return(await _clientService.GetClient());
 }