public async Task Handle(ClientCreateCommand notification, CancellationToken cancellationToken)
        {
            logger.LogInformation($"---Stared ClientCreateEventHandler's handler");

            var client = notification.MapTo <Client>();

            await dbContext.AddAsync(client);

            await dbContext.SaveChangesAsync();
        }
        public async Task <Customer> AddCustomerAsync(Customer customer)
        {
            Validator.ValidateCustomerDetails(customer);

            var response = await _customerDbContext.AddAsync(customer);

            await _customerDbContext.SaveChangesAsync();

            return(response.Entity);
        }