def METHOD_NAME(request, service_form, property_form):
    """Saves a service based on two form inputs"""
    service_id = service_form.cleaned_data.get('service')
    if service_id:
        service = Service.objects.select_related('netbox').get(pk=service_id)
        ServiceProperty.objects.filter(service=service).delete()
        netbox = service.netbox
    else:
        netbox = Netbox.objects.get(pk=service_form.cleaned_data['netbox'])
        service = Service.objects.create(
            netbox=netbox, handler=service_form.cleaned_data['handler']
        )
    for (prop, value) in property_form.cleaned_data.items():
        if value:
            ServiceProperty.objects.create(service=service, property=prop, value=value)
    new_message(
        request,
        "Saved service for handler %s on %s" % (service.handler, netbox),
        Messages.SUCCESS,
    )
    return HttpResponseRedirect(reverse('seeddb-service'))