public bool EditCustomer(Model.VO.CustomerVO cust, Model.VO.CarVO car) { CustomerData customerData = new CustomerData(); return customerData.EditCustomer(Mapper.Map<CustomerVO, CustomerPO>(cust), Mapper.Map<CarVO, CarPO>(car)); }
public void EditCustomer(Model.VO.CustomerVO cust) { CustomerData customerData = new CustomerData(); customerData.EditCustomer(Mapper.Map<CustomerVO, CustomerPO>(cust)); }