public ActionResult Save(CreateCustomerModelView model)
        {
            try
            {
                Customer customer = model.ToDomain();

                var cityId = customer.Address.FirstOrDefault().CityId;
                customer.Address.FirstOrDefault().City = this.cityService.GetCityById(cityId);

                this.customerService.CreateCustomer(customer);
                return JsonSuccess();
            }
            catch (System.Exception ex)
            {
                return JsonError(ex.Message);
            }
        }
        public ActionResult Save(CreateCustomerModelView model)
        {
            try
            {
                Customer customer = model.ToDomain();

                var cityId = customer.Address.FirstOrDefault().CityId;
                customer.Address.FirstOrDefault().City = this.cityService.GetCityById(cityId);

                this.customerService.CreateCustomer(customer);
                return(JsonSuccess());
            }
            catch (System.Exception ex)
            {
                return(JsonError(ex.Message));
            }
        }