private getSaveMethod()

in lib/api/repository/repository.ts [88:92]


	private getSaveMethod(item:Partial<TEntity>):SaveRequestMethod{
		return this.entityBackendConfig.saveMethod
			? this.entityBackendConfig.saveMethod instanceof Function ? this.entityBackendConfig.saveMethod(item, this.paris.config) : this.entityBackendConfig.saveMethod
			: item.id === undefined ? "POST" : "PUT";
	}