public IHttpActionResult AddOrUpdateCustomer(AddOrUpdateCustomerDto _customerDto) { return(Json(_customerService.AddOrUpdateCustomer(_customerDto))); }
public Result AddOrUpdateCustomer(AddOrUpdateCustomerDto _customerDto) { return(_customerRepository.AddOrUpdateCustomer(_customerDto)); }