public Client GetClientById(int id)
        {
            var spec = new ClientFilterSpecification(id);

            return(clientRepository.GetSingleBySpec(spec));
        }
        public async Task <IEnumerable <Client> > GetByKeywordAsync(string keyword)
        {
            var filter = new ClientFilterSpecification(keyword);

            return(await clientRepository.ListAsync(filter));
        }