public async Task <IHttpActionResult> Put(DeActiveCityCommand command)
        {
            var response = await
                           Bus.Send <DeActiveCityCommand, DeActiveCityCommandResponse>(command);

            return(Ok(response));
        }
        public async Task <DeActiveCityCommandResponse> Handle(DeActiveCityCommand command)
        {
            var city = await _cityRepository.FindAsync(command.Id);

            if (city == null)
            {
                throw new DomainException("شهر یافت نشد");
            }
            city.DeActive();
            return(new DeActiveCityCommandResponse());
        }